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

Scott Cantor cantor.2 at osu.edu
Mon Oct 28 12:33:46 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=b88dda2f53addabe2f5e66231476e6c532a0b9f0

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

commit b88dda2f53addabe2f5e66231476e6c532a0b9f0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Oct 28 12:33:38 2019 -0400

    Remove nulls from unit test.
---
 .../idp/attribute/resolver/impl/AttributeResolutionContextTest.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolutionContextTest.java b/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolutionContextTest.java
index 7b65825..2dffdb7 100644
--- a/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolutionContextTest.java
+++ b/idp-attribute-resolver-impl/src/test/java/net/shibboleth/idp/attribute/resolver/impl/AttributeResolutionContextTest.java
@@ -62,13 +62,7 @@ public class AttributeResolutionContextTest {
         assertNotNull(context.getRequestedIdPAttributeNames());
         assertTrue(context.getRequestedIdPAttributeNames().isEmpty());
 
-        attributes.add(null);
-        context.setRequestedIdPAttributeNames(attributes);
-        assertNotNull(context.getRequestedIdPAttributeNames());
-        assertTrue(context.getRequestedIdPAttributeNames().isEmpty());
-
         attributes.add("foo");
-        attributes.add(null);
         attributes.add("bar");
         context.setRequestedIdPAttributeNames(attributes);
         assertNotNull(context.getRequestedIdPAttributeNames());

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


More information about the commits mailing list