mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix failing test
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user