[java-idp-plugin-webauthn] branch main updated: Disable FIDO metadata tests

Phil Smart philip.smart at jisc.ac.uk
Thu Jul 11 08:24:50 UTC 2024


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

philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=069b1c7eed72c6504bffe2079bf61098b071d001

The following commit(s) were added to refs/heads/main by this push:
     new 069b1c7  Disable FIDO metadata tests
069b1c7 is described below

commit 069b1c7eed72c6504bffe2079bf61098b071d001
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Jul 11 09:24:17 2024 +0100

    Disable FIDO metadata tests
    
     - The signature on the cached file has expired. Which I should have
    thought about. Disabling for now.
---
 .../webauthn/metadata/FidoMetadataServiceResolverFactoryTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/FidoMetadataServiceResolverFactoryTest.java b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/FidoMetadataServiceResolverFactoryTest.java
index a54c035..13e0cd7 100644
--- a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/FidoMetadataServiceResolverFactoryTest.java
+++ b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/metadata/FidoMetadataServiceResolverFactoryTest.java
@@ -59,7 +59,7 @@ public class FidoMetadataServiceResolverFactoryTest extends AbstractWebAuthnTest
     }
     
     
-    @Test
+    @Test(enabled = false)
     public void testSuccessfullMetadataLoadFromFile() throws Exception {  
         // Setting the local metadata blob file will force the factory to load from the local file
         factory.setMetadataBlobFile(new ClassPathResource("fido-metadata.bin"));
@@ -69,7 +69,7 @@ public class FidoMetadataServiceResolverFactoryTest extends AbstractWebAuthnTest
         assert resolver != null;
     }
     
-    @Test(expectedExceptions = FatalBeanException.class)
+    @Test(expectedExceptions = FatalBeanException.class, enabled = false)
     public void testUnsuccessfull_RequiresCacheFileWhenURLUsed() throws Exception {  
         // Setting the local metadata blob file will force the factory to load from the local file
         factory.setMetadataBlobUrl(new UrlResource("https://localhost:9918/"));

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


More information about the commits mailing list