aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/test/java/com/yahoo
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2020-12-22 11:14:04 +0100
committerJon Marius Venstad <venstad@gmail.com>2020-12-22 11:14:04 +0100
commita2c96dc78bf1e88b9378affea73d112945a28bcf (patch)
tree6228f8e24675aaa3b036442429460b756a426c37 /jdisc_core/src/test/java/com/yahoo
parent5d3423debd9db43dc7c34eeb034b3540da1a85e7 (diff)
Revert "Revert require port from URI when specified in binding"
This reverts commit ea50af2f89c8bc5ba8b132b971c082a8cce4ad54.
Diffstat (limited to 'jdisc_core/src/test/java/com/yahoo')
-rw-r--r--jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java b/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java
index c7d0b9ff6d2..0ea82508f06 100644
--- a/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java
+++ b/jdisc_core/src/test/java/com/yahoo/jdisc/application/UriPatternTestCase.java
@@ -263,15 +263,6 @@ public class UriPatternTestCase {
}
@Test
- public void requireThatUrisWithImplicitPortFromSchemeMatchesBindingWithExplicitPort() {
- UriPattern httpPattern = new UriPattern("http://host:80/path");
- assertMatch(httpPattern, "http://host/path", NO_GROUPS);
-
- UriPattern httpsPattern = new UriPattern("https://host:443/path");
- assertMatch(httpsPattern, "https://host/path", NO_GROUPS);
- }
-
- @Test
public void requireThatHttpsSchemeIsHandledAsHttp() {
UriPattern httpPattern = new UriPattern("http://host:80/path");
assertMatch(httpPattern, "https://host:80/path", NO_GROUPS);