[java-identity-provider COMMIT] /trunk/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseVa...

noreply at shibboleth.net noreply at shibboleth.net
Thu Dec 18 16:09:11 EST 2014


Author: scantor
Date: Thu Dec 18 16:09:10 2014
New Revision: 7164

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7164&view=rev
Log:
Correct for change in attribute order.

Modified:
    trunk/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java

Modified: trunk/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java?rev=7164&r1=7163&r2=7164&view=diff
==============================================================================
--- trunk/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java (original)
+++ trunk/idp-conf/src/test/java/net/shibboleth/idp/test/flows/saml1/SAML1TestResponseValidator.java Thu Dec 18 16:09:10 2014
@@ -498,9 +498,9 @@
             assertAttribute(attributes.get(1), "urn:mace:dir:attribute-def:eduPersonScopedAffiliation", "member");
         } else {
             assertAttribute(attributes.get(0), "urn:mace:dir:attribute-def:uid", "jdoe");
+            assertAttribute(attributes.get(1), "urn:mace:dir:attribute-def:mail", "jdoe at example.org");
             // The scope here is in a separate XML attribute, so not in the element content.
-            assertAttribute(attributes.get(1), "urn:mace:dir:attribute-def:eduPersonPrincipalName", "jdoe");
-            assertAttribute(attributes.get(2), "urn:mace:dir:attribute-def:mail", "jdoe at example.org");
+            assertAttribute(attributes.get(2), "urn:mace:dir:attribute-def:eduPersonPrincipalName", "jdoe");
             // The scope here is in a separate XML attribute, so not in the element content.
             assertAttribute(attributes.get(3), "urn:mace:dir:attribute-def:eduPersonScopedAffiliation", "member");
         }



More information about the commits mailing list