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

noreply at shibboleth.net noreply at shibboleth.net
Wed Feb 19 13:10:18 EST 2014


Author: rdw
Date: Wed Feb 19 13:10:18 2014
New Revision: 5400

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5400&view=rev
Log:
Fix test

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

Modified: trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/TransientDecoderTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/TransientDecoderTest.java?rev=5400&r1=5399&r2=5400&view=diff
==============================================================================
--- trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/TransientDecoderTest.java (original)
+++ trunk/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/impl/nameid/TransientDecoderTest.java Wed Feb 19 13:10:18 2014
@@ -75,7 +75,7 @@
 
     }
 
-    @Test(expectedExceptions={NameDecoderException.class,}) public void testExpired() throws ProfileException, ComponentInitializationException, IOException {
+    @Test(expectedExceptions={NameDecoderException.class, SubjectCanonicalizationException.class}) public void testExpired() throws ProfileException, ComponentInitializationException, IOException {
 
         final StorageService store = new MemoryStorageService();
         store.initialize();
@@ -100,7 +100,7 @@
     }
 
 
-    @Test(expectedExceptions={NameDecoderException.class,})  public void testNotFound() throws ProfileException, ComponentInitializationException, IOException {
+    @Test(expectedExceptions={SubjectCanonicalizationException.class,})  public void testNotFound() throws ProfileException, ComponentInitializationException, IOException {
 
         final StorageService store = new MemoryStorageService();
         store.initialize();



More information about the commits mailing list