Browse Source

Fix failing test

pull/1111/head
Rossen Stoyanchev 10 years ago
parent
commit
5231e7da7b
  1. 2
      spring-web-reactive/src/test/java/org/springframework/http/server/reactive/ErrorHandlingHttpHandlerTests.java

2
spring-web-reactive/src/test/java/org/springframework/http/server/reactive/ErrorHandlingHttpHandlerTests.java

@ -53,7 +53,7 @@ public class ErrorHandlingHttpHandlerTests {
@Test @Test
public void handleErrorSignal() throws Exception { 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 targetHandler = new TestHttpHandler(new IllegalStateException("boo"));
HttpHandler handler = new ErrorHandlingHttpHandler(targetHandler, exceptionHandler); HttpHandler handler = new ErrorHandlingHttpHandler(targetHandler, exceptionHandler);

Loading…
Cancel
Save