[java-plugin-shibd-oidc] 01/02: Remove test that violates null checking (no known way of allowing them).

Codeberg noreply at shibboleth.net
Mon Jul 20 13:19:14 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/c289f16ea9b2b6937e4620c6890b6a9944f86b3c

commit c289f16ea9b2b6937e4620c6890b6a9944f86b3c
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Jul 20 09:17:08 2026 -0400

    Remove test that violates null checking (no known way of allowing them).
---
 .../profile/context/navigate/LogoutHintLookupStrategyTest.java   | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/sp-oidc-api/src/test/java/net/shibboleth/sp/oidc/profile/context/navigate/LogoutHintLookupStrategyTest.java b/sp-oidc-api/src/test/java/net/shibboleth/sp/oidc/profile/context/navigate/LogoutHintLookupStrategyTest.java
index a6ecaa3..bf24ee3 100644
--- a/sp-oidc-api/src/test/java/net/shibboleth/sp/oidc/profile/context/navigate/LogoutHintLookupStrategyTest.java
+++ b/sp-oidc-api/src/test/java/net/shibboleth/sp/oidc/profile/context/navigate/LogoutHintLookupStrategyTest.java
@@ -23,7 +23,6 @@ import org.testng.annotations.Test;
 import com.nimbusds.jwt.JWT;
 
 import net.shibboleth.shared.component.ComponentInitializationException;
-import net.shibboleth.shared.logic.ConstraintViolationException;
 import net.shibboleth.sp.oidc.context.OIDCLogoutContext;
 import net.shibboleth.sp.oidc.profile.context.logic.AbstractLogoutLookupStrategyTest;
 import net.shibboleth.sp.oidc.testing.TestHelper;
@@ -31,6 +30,7 @@ import net.shibboleth.sp.oidc.testing.TestHelper;
 /**
  * Tests for {@link LogoutHintLookupStrategy}.
  */
+ at SuppressWarnings("javadoc")
 public class LogoutHintLookupStrategyTest extends AbstractLogoutLookupStrategyTest {
 
     /** Strategy under test. */
@@ -108,9 +108,4 @@ public class LogoutHintLookupStrategyTest extends AbstractLogoutLookupStrategyTe
         assertNull(strategy.apply(mc));
     }
 
-    @Test(expectedExceptions = ConstraintViolationException.class)
-    public void testNullLookupStrategy() {
-        new LogoutHintLookupStrategy(null);
-    }
-
-}
+}
\ No newline at end of file

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


More information about the commits mailing list