diff --git a/core/src/test/java/org/nzbhydra/auth/HydraEmbeddedServletContainerTest.java b/core/src/test/java/org/nzbhydra/auth/HydraEmbeddedServletContainerTest.java index 459710ba3..a00b2aa1b 100644 --- a/core/src/test/java/org/nzbhydra/auth/HydraEmbeddedServletContainerTest.java +++ b/core/src/test/java/org/nzbhydra/auth/HydraEmbeddedServletContainerTest.java @@ -110,7 +110,7 @@ void shouldHandleIpv6ForwardedHostWithoutPort() { HydraEmbeddedServletContainer.Result result = parseRequest(request); - assertThat(result.originalPort()).isEqualTo(80); + assertThat(result.originalPort()).isEqualTo(-1); assertThat(result.forwardedHost()).isEqualTo("[2001:db8:85a3:8d3:1319:8a2e:370:7348]"); }