[java-identity-provider] branch main updated: Fix map collisions in tests.
Scott Cantor
cantor.2 at osu.edu
Wed Mar 5 21:51:51 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=ccd4309e7a6d71d122ffa0511a54157e3b68db08
The following commit(s) were added to refs/heads/main by this push:
new ccd4309e7 Fix map collisions in tests.
ccd4309e7 is described below
commit ccd4309e7a6d71d122ffa0511a54157e3b68db08
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Mar 5 16:51:36 2025 -0500
Fix map collisions in tests.
---
.../idp/authn/impl/ValidateExternalAuthenticationTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthenticationTest.java b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthenticationTest.java
index 2894c362c..e65053564 100644
--- a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthenticationTest.java
+++ b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/ValidateExternalAuthenticationTest.java
@@ -61,7 +61,7 @@ public class ValidateExternalAuthenticationTest extends BaseAuthenticationContex
action = new ValidateExternalAuthentication();
final MockHttpServletRequest request = new MockHttpServletRequest();
action.setHttpServletRequestSupplier(new ConstantSupplier<>(request));
- action.setClassifiedMessages(CollectionSupport.singletonMap("Zorkmid2", CollectionSupport.listOf("foo", "bar")));
+ action.setClassifiedMessages(CollectionSupport.singletonMap("Zorkmid2", CollectionSupport.listOf("Foo", "Bar")));
action.initialize();
}
@@ -220,7 +220,7 @@ public class ValidateExternalAuthenticationTest extends BaseAuthenticationContex
final ExternalAuthenticationContext eac =
(ExternalAuthenticationContext) ac.addSubcontext(new ExternalAuthenticationContext(ext), true);
eac.setAuthnEvent("Zorkmid");
- eac.setAuthnError("foo");
+ eac.setAuthnError("Foo");
final Event event = action.execute(src);
ActionTestingSupport.assertEvent(event, "Zorkmid2");
@@ -233,7 +233,7 @@ public class ValidateExternalAuthenticationTest extends BaseAuthenticationContex
final ExternalAuthenticationContext eac =
(ExternalAuthenticationContext) ac.addSubcontext(new ExternalAuthenticationContext(ext), true);
eac.setAuthnEvent("Zorkmid");
- eac.setAuthnError("Foo");
+ eac.setAuthnError("foo");
final Event event = action.execute(src);
ActionTestingSupport.assertEvent(event, "Zorkmid");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list