[java-identity-provider COMMIT] /trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransien...

noreply at shibboleth.net noreply at shibboleth.net
Thu Jan 30 08:45:04 EST 2014


Author: rdw
Date: Thu Jan 30 08:45:04 2014
New Revision: 5276

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5276&view=rev
Log:
Remove destabiliing corruption from test where we are not testing for corruption

Modified:
    trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientDecoderTest.java

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientDecoderTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientDecoderTest.java?rev=5276&r1=5275&r2=5276&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientDecoderTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/CryptoTransientDecoderTest.java Thu Jan 30 08:45:04 2014
@@ -133,14 +133,14 @@
             throws SubjectCanonicalizationException, DataSealerException, NameDecoderException {
         String ct = code(PRINCIPAL, ISSUER, RECIPIENT);
 
-        decoder.decode(ct + ct, ISSUER, "my" + RECIPIENT);
+        decoder.decode(ct, ISSUER, "my" + RECIPIENT);
     }
 
     @Test(expectedExceptions = {SubjectCanonicalizationException.class,}) public void badIdP()
             throws SubjectCanonicalizationException, DataSealerException, NameDecoderException {
         String ct = code(PRINCIPAL, ISSUER, RECIPIENT);
 
-        decoder.decode(ct + ct, "my" + ISSUER, RECIPIENT);
+        decoder.decode(ct, "my" + ISSUER, RECIPIENT);
     }
 
 }



More information about the commits mailing list