[java-opensaml] branch master updated: Fix test failure, object isn't null anymore.

Scott Cantor cantor.2 at osu.edu
Fri Oct 18 15:58: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-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=d953a83c8db7c6b23d89e77d0807c4dc2a952cdc

The following commit(s) were added to refs/heads/master by this push:
       new  d953a83   Fix test failure, object isn't null anymore.
d953a83 is described below

commit d953a83c8db7c6b23d89e77d0807c4dc2a952cdc
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Oct 18 15:58:43 2019 -0400

    Fix test failure, object isn't null anymore.
---
 .../saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
index da3b21a..3a1d009 100644
--- a/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
+++ b/opensaml-saml-impl/src/test/java/org/opensaml/saml/metadata/resolver/impl/FileBackedHTTPMetadataResolverTest.java
@@ -241,7 +241,7 @@ public class FileBackedHTTPMetadataResolverTest extends XMLObjectBaseTestCase {
         Assert.assertTrue(initRefresh.isBefore(metadataProvider.getLastRefresh()));
         Assert.assertTrue(initUpdate.isBefore(metadataProvider.getLastUpdate()));
 
-        Assert.assertNull(mockFilter.lastFilterContext.get(MetadataSource.class));
+        Assert.assertFalse(mockFilter.lastFilterContext.get(MetadataSource.class).isTrusted());
 
         Assert.assertNotNull(metadataProvider.resolveSingle(criteriaSet), "Metadata retrieved from HTTP refreshed metadata was null");
     }

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


More information about the commits mailing list