I made a test case: https://github.com/MrBuddyCasino/spring-validator-test
Execute the following test case: de.codecentric.controller.AccountControllerShould
Expected result:
the request should fail with a BadRequest, the unit test should fail
Actual result:
the request succeeds, the unit test fails