This commit is contained in:
Brian Clozel 2018-02-13 18:21:09 +01:00
parent e399cf6918
commit 8d22a79eb6
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ public class DefaultErrorWebExceptionHandlerIntegrationTests {
.isEqualTo(("/bind")).jsonPath("exception").doesNotExist()
.jsonPath("errors").isArray().jsonPath("message").isNotEmpty();
});
this.output.expect(allOf(containsString("Failed to handle request [POST /bind]"),
containsString("Validation failed for argument"),
containsString("Field error in object 'dummyBody' on field 'content'")));
}
@Test