-
-
Notifications
You must be signed in to change notification settings - Fork 231
Fixes an issue with matching JSON bodies as bytes #1339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a new unit test for BodyDataMatchScoreCalculator which tests this scenario?
@StefH I added a few new tests.
The other two are for covering the existing scenario of matching non-JSON strings or bytes. |
Fixes an issue where body payloads would fail to be matched if the matcher was created using a
byte[]
value and the bytes represented valid JSON.References
Submitter checklist
#help-contributing
or a project-specific channel like#wiremock-java