From 73d4fbc4bdfb2dcea8f9c47df5934f1976bd0064 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Wed, 30 Mar 2022 17:10:37 +0200 Subject: [PATCH] Issue #7801 Test incorrectly expected duplicate session cookie Signed-off-by: Jan Bartel --- .../src/test/java/org/eclipse/jetty/security/ConstraintTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java b/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java index 72b5404fe4eb..351de14d50fb 100644 --- a/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java +++ b/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java @@ -1008,7 +1008,6 @@ public void testFormRedirect() throws Exception "Cookie: JSESSIONID=" + session + "\r\n" + "\r\n"); assertThat(response, startsWith("HTTP/1.1 200 OK")); - assertThat(response, containsString("JSESSIONID=" + session)); response = _connector.getResponse("GET /ctx/admin/info HTTP/1.0\r\n" + "Cookie: JSESSIONID=" + session + "\r\n" +