Tests using jsonPath wrongly use formatted arguments as the expected value #32036
Labels
status: backported
An issue that has been backported to maintenance branches
type: task
A general task
Milestone
Several tests in our test suite uses the
.jsonPath(String expression, Object...args)
to evaluate the value of a field at a particular place. Some of these tests are no-op as they use the arguments as the expected value fo the field, seeExceptionHandlerTests
for an example.We should review usage of those tests and use
.isEqualTo
accordingly.The text was updated successfully, but these errors were encountered: