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

Phil Smart philip.smart at jisc.ac.uk
Wed Apr 24 10:56:30 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=3b4e0e2cf4aed8ff9c5577b5f71ffdaf6df55492

The following commit(s) were added to refs/heads/main by this push:
     new 3b4e0e2  Fix tests
3b4e0e2 is described below

commit 3b4e0e2cf4aed8ff9c5577b5f71ffdaf6df55492
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Apr 24 11:56:27 2024 +0100

    Fix tests
---
 .../authn/webauthn/admin/CredentialCreationOptionsParametersTest.java | 4 ++++
 1 file changed, 4 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 21c9e4e..14cf22e 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
@@ -39,6 +39,7 @@ public class CredentialCreationOptionsParametersTest {
                 .withChallenge(new byte[0])
                 .withExcludeCredentials(CollectionSupport.emptySet())
                 .withUsername("username")
+                .withDisplayName("displayName")
                 .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
                 .withUserId(new byte[0])
                 .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
@@ -56,6 +57,7 @@ public class CredentialCreationOptionsParametersTest {
             .withChallenge(new byte[0])
             .withExcludeCredentials(CollectionSupport.emptySet())
             .withUsername(null)
+            .withDisplayName("displayName")
             .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
             .withUserId(new byte[0])
             .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
@@ -71,6 +73,7 @@ public class CredentialCreationOptionsParametersTest {
             .withChallenge(new byte[0])
             .withExcludeCredentials(CollectionSupport.emptySet())
             .withUsername("username")
+            .withDisplayName("displayName")
             .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
             .withUserId(null)
             .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)
@@ -86,6 +89,7 @@ public class CredentialCreationOptionsParametersTest {
             .withChallenge(new byte[0])
             .withExcludeCredentials(null)
             .withUsername("username")
+            .withDisplayName("displayName")
             .withResidentKeyRequirement(ResidentKeyRequirement.DISCOURAGED)
             .withUserId(new byte[0])
             .withAttestationConveyancePreference(AttestationConveyancePreference.NONE)

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


More information about the commits mailing list