[java-plugin-shibd-oidc] branch main updated: Fix test

Codeberg noreply at shibboleth.net
Thu Feb 5 11:17:03 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-plugin-shibd-oidc.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-oidc/commit/119118cc0e00160d37eb40b7d1a24dd1041f9700

The following commit(s) were added to refs/heads/main by this push:
     new 119118c  Fix test
119118c is described below

commit 119118cc0e00160d37eb40b7d1a24dd1041f9700
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Feb 5 11:16:54 2026 +0000

    Fix test
---
 .../net/shibboleth/sp/oidc/profile/impl/IssueStateCookieTest.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sp-oidc-impl/src/test/java/net/shibboleth/sp/oidc/profile/impl/IssueStateCookieTest.java b/sp-oidc-impl/src/test/java/net/shibboleth/sp/oidc/profile/impl/IssueStateCookieTest.java
index 0face37..682c7d0 100644
--- a/sp-oidc-impl/src/test/java/net/shibboleth/sp/oidc/profile/impl/IssueStateCookieTest.java
+++ b/sp-oidc-impl/src/test/java/net/shibboleth/sp/oidc/profile/impl/IssueStateCookieTest.java
@@ -42,7 +42,8 @@ import net.shibboleth.shared.primitive.NonnullSupplier;
 import net.shibboleth.sp.ddf.DDF;
 import net.shibboleth.sp.profile.SPConstants;
 import net.shibboleth.sp.profile.impl.BaseAgplicationActionTest;
-import net.shibboleth.sp.profile.impl.IssueCorrelationCookie;
+
+
 
 /**
  * Unit test for {@link IssueStateCookie} action.
@@ -140,7 +141,7 @@ public class IssueStateCookieTest extends BaseAgplicationActionTest {
             return;
         }
         
-        final Cookie cookie = response.getCookie(IssueCorrelationCookie.DEFAULT_COOKIE_PREFIX + state);
+        final Cookie cookie = response.getCookie(IssueStateCookie.DEFAULT_COOKIE_PREFIX + state);
         assert cookie != null;
         Assert.assertEquals(cookie.getValue(), stateValue);
         Assert.assertEquals(cookie.getMaxAge(), -1);
@@ -152,7 +153,7 @@ public class IssueStateCookieTest extends BaseAgplicationActionTest {
         
         final List<Cookie> cookies = new ArrayList<>(12);
         for (int i = 0; i < 12; ++i) {
-            cookies.add(new Cookie(IssueCorrelationCookie.DEFAULT_COOKIE_PREFIX + i, "foo" + i));
+            cookies.add(new Cookie(IssueStateCookie.DEFAULT_COOKIE_PREFIX + i, "foo" + i));
             Thread.sleep(250);
         }
         request.setCookies(cookies.toArray(new Cookie[12]));

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list