I wrote one unit test that tests UsersController. UsersControllerTest.findUser is working fine, but UsersControllerTest.insertGetModifyDelete it doesn\'t.
In the log
I got around it with @AutoConfigureMockMvc(addFilters = false). Please make sure that this won't compromise other functionality on your HTTP stack.
@AutoConfigureMockMvc(addFilters = false)