diff --git a/src/test/java/sirius/web/controller/TestController.java b/src/test/java/sirius/web/controller/TestController.java index dda0ca579..d08ccec5c 100644 --- a/src/test/java/sirius/web/controller/TestController.java +++ b/src/test/java/sirius/web/controller/TestController.java @@ -108,7 +108,7 @@ public void tunnelFallbackFor404(WebContext ctx) { public void tunnelFallbackForError(WebContext ctx) { ctx.respondWith() .setHeader(HttpHeaderNames.CONTENT_TYPE, "text/test") - .tunnel("http://unknownHost", + .tunnel("http://localhost:1", (code) -> ctx.respondWith() .setHeader(HttpHeaderNames.CONTENT_TYPE, "text/test") .tunnel("http://localhost:9999/service/json/test"));