From 5231e7da7bee9301ca29eecbbf00738eefd44ad3 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 10 Dec 2015 16:50:28 -0500 Subject: [PATCH] Fix failing test --- .../http/server/reactive/ErrorHandlingHttpHandlerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/ErrorHandlingHttpHandlerTests.java b/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/ErrorHandlingHttpHandlerTests.java index fe80a41bcc..4b93f15cc6 100644 --- a/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/ErrorHandlingHttpHandlerTests.java +++ b/spring-web-reactive/src/test/java/org/springframework/http/server/reactive/ErrorHandlingHttpHandlerTests.java @@ -53,7 +53,7 @@ public class ErrorHandlingHttpHandlerTests { @Test public void handleErrorSignal() throws Exception { - HttpExceptionHandler exceptionHandler = new UnresolvedExceptionHandler(); + HttpExceptionHandler exceptionHandler = new HttpStatusExceptionHandler(HttpStatus.INTERNAL_SERVER_ERROR); HttpHandler targetHandler = new TestHttpHandler(new IllegalStateException("boo")); HttpHandler handler = new ErrorHandlingHttpHandler(targetHandler, exceptionHandler);