[java-opensaml] branch main updated: Fix test cut/paste error.

Scott Cantor cantor.2 at osu.edu
Mon Apr 10 15:29:42 UTC 2023


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

scantor pushed a commit to branch main
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=de7042d1371307b05e6c23dae71f74c4b1727234

The following commit(s) were added to refs/heads/main by this push:
     new de7042d13 Fix test cut/paste error.
de7042d13 is described below

commit de7042d1371307b05e6c23dae71f74c4b1727234
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Apr 10 11:29:39 2023 -0400

    Fix test cut/paste error.
---
 .../saml/common/binding/impl/SAMLProtocolAndRoleHandlerTest.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/impl/SAMLProtocolAndRoleHandlerTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/impl/SAMLProtocolAndRoleHandlerTest.java
index dc101eba4..b4dbfbf57 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/impl/SAMLProtocolAndRoleHandlerTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/binding/impl/SAMLProtocolAndRoleHandlerTest.java
@@ -56,7 +56,7 @@ public class SAMLProtocolAndRoleHandlerTest {
         assert protocolCtx != null;
         Assert.assertEquals(protocolCtx.getProtocol(), SAMLConstants.SAML20P_NS);
 
-        final SAMLPresenterEntityContext presenterCtx = messageContext.getSubcontext(SAMLPresenterEntityContext.class);
+        final SAMLPeerEntityContext presenterCtx = messageContext.getSubcontext(SAMLPeerEntityContext.class);
         assert presenterCtx != null;
         Assert.assertEquals(presenterCtx.getRole(), SPSSODescriptor.DEFAULT_ELEMENT_NAME);
     }
@@ -94,7 +94,7 @@ public class SAMLProtocolAndRoleHandlerTest {
         assert protocolCtx != null;
         Assert.assertEquals(protocolCtx.getProtocol(), SAMLConstants.SAML20P_NS);
 
-        final SAMLPresenterEntityContext presenterCtx = messageContext.getSubcontext(SAMLPresenterEntityContext.class);
+        final SAMLPeerEntityContext presenterCtx = messageContext.getSubcontext(SAMLPeerEntityContext.class);
         assert presenterCtx != null;
         Assert.assertEquals(presenterCtx.getRole(), SPSSODescriptor.DEFAULT_ELEMENT_NAME);
     }

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


More information about the commits mailing list