[java-idp-plugin-webauthn] branch main updated: Fix test

Phil Smart philip.smart at jisc.ac.uk
Fri Feb 9 12:05:32 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=092605c9a5e361b87ee30cdec4e6d34e1cc1a3cf

The following commit(s) were added to refs/heads/main by this push:
     new 092605c  Fix test
092605c is described below

commit 092605c9a5e361b87ee30cdec4e6d34e1cc1a3cf
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Feb 9 12:05:29 2024 +0000

    Fix test
---
 .../webauthn/admin/CredentialCreationOptionsParametersTest.java      | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/CredentialCreationOptionsParametersTest.java b/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/CredentialCreationOptionsParametersTest.java
index eb0980a..e1a6418 100644
--- a/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/CredentialCreationOptionsParametersTest.java
+++ b/webauthn-api/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/CredentialCreationOptionsParametersTest.java
@@ -19,6 +19,7 @@ import static org.testng.Assert.assertNotNull;
 
 import org.testng.annotations.Test;
 
+import com.yubico.webauthn.data.AttestationConveyancePreference;
 import com.yubico.webauthn.data.AuthenticatorAttachment;
 import com.yubico.webauthn.data.ResidentKeyRequirement;
 import com.yubico.webauthn.data.UserVerificationRequirement;
@@ -40,6 +41,7 @@ public class CredentialCreationOptionsParametersTest {
                 .withUsername("username")
                 .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
                 .withUserHandle(new byte[0])
+                .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
                 .withAuthenticatorAttachment(AuthenticatorAttachment.CROSS_PLATFORM)
                 .build();
         assertNotNull(options);
@@ -56,6 +58,7 @@ public class CredentialCreationOptionsParametersTest {
             .withUsername(null)
             .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
             .withUserHandle(new byte[0])
+            .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
             .withAuthenticatorAttachment(AuthenticatorAttachment.CROSS_PLATFORM)
             .build();       
     }
@@ -70,6 +73,7 @@ public class CredentialCreationOptionsParametersTest {
             .withUsername("username")
             .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
             .withUserHandle(null)
+            .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
             .withAuthenticatorAttachment(AuthenticatorAttachment.CROSS_PLATFORM)
             .build();   
     }
@@ -84,6 +88,7 @@ public class CredentialCreationOptionsParametersTest {
             .withUsername("username")
             .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
             .withUserHandle(new byte[0])
+            .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
             .withAuthenticatorAttachment(AuthenticatorAttachment.CROSS_PLATFORM)
             .build();
 

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


More information about the commits mailing list