[java-identity-provider] branch master updated: Fix tests, convert result from List to Set.
Scott Cantor
cantor.2 at osu.edu
Fri Nov 1 18:05:57 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=7a0a5163ef4427d65c64d2c8ca246596263f560f
The following commit(s) were added to refs/heads/master by this push:
new 7a0a516 Fix tests, convert result from List to Set.
7a0a516 is described below
commit 7a0a5163ef4427d65c64d2c8ca246596263f560f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Nov 1 18:05:52 2019 -0400
Fix tests, convert result from List to Set.
---
.../saml2/profile/config/AbstractSAML2ProfileConfigurationTest.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/AbstractSAML2ProfileConfigurationTest.java b/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/AbstractSAML2ProfileConfigurationTest.java
index a44ca8f..61ec6ca 100644
--- a/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/AbstractSAML2ProfileConfigurationTest.java
+++ b/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/AbstractSAML2ProfileConfigurationTest.java
@@ -18,6 +18,8 @@
package net.shibboleth.idp.saml.saml2.profile.config;
import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.Set;
import net.shibboleth.idp.saml.saml2.profile.config.AbstractSAML2ProfileConfiguration;
import net.shibboleth.utilities.java.support.logic.ConstraintViolationException;
@@ -110,7 +112,7 @@ public class AbstractSAML2ProfileConfigurationTest {
Assert.assertNotNull(config.getProxyAudiences(null));
Assert.assertTrue(config.getProxyAudiences(null).isEmpty());
- final ArrayList<String> audiences = new ArrayList<>();
+ final Set<String> audiences = new HashSet<>();
audiences.add("foo");
audiences.add("bar");
@@ -129,7 +131,7 @@ public class AbstractSAML2ProfileConfigurationTest {
@Test public void testIndirectProxyAudiences() {
final MockSAML2ProfileConfiguration config = new MockSAML2ProfileConfiguration();
- final ArrayList<String> audiences = new ArrayList<>();
+ final Set<String> audiences = new HashSet<>();
audiences.add("foo");
audiences.add("bar");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list