Skip to content

Tests using jsonPath wrongly use formatted arguments as the expected value #32036

Closed
@snicoll

Description

@snicoll

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, see ExceptionHandlerTests for an example.

We should review usage of those tests and use .isEqualTo accordingly.

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions