From 8d22a79eb602339265b8ef10f2f54e648e631245 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Tue, 13 Feb 2018 18:21:09 +0100 Subject: [PATCH] Polish --- .../error/DefaultErrorWebExceptionHandlerIntegrationTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandlerIntegrationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandlerIntegrationTests.java index b24c4fe17f..b79228aee4 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandlerIntegrationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/error/DefaultErrorWebExceptionHandlerIntegrationTests.java @@ -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