[java-shib-metadata] branch main updated: Fix test, resolvers cannot return null collections.
Scott Cantor
cantor.2 at osu.edu
Mon Apr 10 22:34:12 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-shib-metadata.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-metadata.git;a=commit;h=f0bf9a3df472cb4fb059280272b82e17154481c8
The following commit(s) were added to refs/heads/main by this push:
new f0bf9a3d Fix test, resolvers cannot return null collections.
f0bf9a3d is described below
commit f0bf9a3df472cb4fb059280272b82e17154481c8
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Apr 10 18:34:09 2023 -0400
Fix test, resolvers cannot return null collections.
---
.../net/shibboleth/spring/metadata/FilesystemMetadataParserTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FilesystemMetadataParserTest.java b/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FilesystemMetadataParserTest.java
index a2d15abf..52cb1db5 100644
--- a/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FilesystemMetadataParserTest.java
+++ b/shib-metadata-spring/src/test/java/net/shibboleth/spring/metadata/FilesystemMetadataParserTest.java
@@ -45,7 +45,7 @@ public class FilesystemMetadataParserTest extends AbstractMetadataParserTest {
assertTrue(resolver.isFailFastInitialization());
assertTrue(resolver.isRequireValidMetadata());
- assertNull(entities);
+ assertFalse(entities.iterator().hasNext());
}
@Test public void entity() throws Exception {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list