[java-identity-provider] branch master updated: Remove null check from unit test.

Scott Cantor cantor.2 at osu.edu
Mon Oct 28 16:28:40 EDT 2019


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

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=17111310e44e0268823dbd8728fd806b4f7c585e

The following commit(s) were added to refs/heads/master by this push:
       new  1711131   Remove null check from unit test.
1711131 is described below

commit 17111310e44e0268823dbd8728fd806b4f7c585e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 28 16:28:35 2019 -0400

    Remove null check from unit test.
---
 .../net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java b/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java
index 0216314..4ef2335 100644
--- a/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java
+++ b/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java
@@ -111,13 +111,6 @@ public class AuthenticationFlowDescriptorTest {
         descriptor.getSupportedPrincipals().add(baz);
         Assert.assertEquals(descriptor.getSupportedPrincipals(UsernamePrincipal.class).size(), 3);
         Assert.assertTrue(descriptor.getSupportedPrincipals(UsernamePrincipal.class).contains(baz));
-        
-        try {
-            descriptor.getSupportedPrincipals().add(null);
-            Assert.fail();
-        } catch (IllegalArgumentException e) {
-            
-        }
     }
     
     /** Tests handling of active/inactive checks. */

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


More information about the commits mailing list