[java-identity-provider COMMIT] /trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/profile/config/AbstractSAML...

noreply at shibboleth.net noreply at shibboleth.net
Mon Feb 24 15:51:05 EST 2014


Author: scantor
Date: Mon Feb 24 15:51:04 2014
New Revision: 5467

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5467&view=rev
Log:
Fix default profile config flag (unit test)

Modified:
    trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfigurationTest.java

Modified: trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfigurationTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfigurationTest.java?rev=5467&r1=5466&r2=5467&view=diff
==============================================================================
--- trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfigurationTest.java (original)
+++ trunk/idp-saml-api/src/test/java/net/shibboleth/idp/saml/profile/config/AbstractSAMLProfileConfigurationTest.java Mon Feb 24 15:51:04 2014
@@ -101,10 +101,10 @@
 
     @Test public void testIncludeNotBefore() {
         MockSAMLProfileConfiguration config = new MockSAMLProfileConfiguration();
+        Assert.assertTrue(config.includeConditionsNotBefore());
+
+        config.setIncludeConditionsNotBefore(false);
         Assert.assertFalse(config.includeConditionsNotBefore());
-
-        config.setIncludeConditionsNotBefore(true);
-        Assert.assertTrue(config.includeConditionsNotBefore());
     }
     
     @Test public void testAdditionalAudiencesForAssertion() {



More information about the commits mailing list