Unit test using WebTestClient (POST with empty body, check status 400) fails with 2.0.4.RELEASE but ok with 2.0.2.RELEASE #14174
Labels
for: external-project
For an external project and not something we can fix
status: invalid
An issue that we don't feel is valid
Sample project showing the issue available at https://github.com/marcpa00/verify-400-with-empty-body
With Spring Boot 2.0.2.RELEASE, doing a POST with an empty body and asserting the response code is 400 works, changing for Spring Boot 2.0.4.RELEASE, the same test fails.
Currently, this is also using spring rest docs, I will try to remove that from the equation.
The text was updated successfully, but these errors were encountered: