Fix failing test

This commit is contained in:
Rossen Stoyanchev 2015-12-10 16:50:28 -05:00
parent a0018d13e1
commit 5231e7da7b
1 changed files with 1 additions and 1 deletions

View File

@ -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);