[java-idp-plugin-webauthn] branch main updated: Fix tests
Phil Smart
philip.smart at jisc.ac.uk
Thu Sep 12 14:51:18 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=30c3bc4191fee423a13300f9ffa9fcf473305dc5
The following commit(s) were added to refs/heads/main by this push:
new 30c3bc4 Fix tests
30c3bc4 is described below
commit 30c3bc4191fee423a13300f9ffa9fcf473305dc5
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Sep 12 15:51:15 2024 +0100
Fix tests
---
.../admin/impl/CreatePublicKeyCredentialCreationOptionsTest.java | 1 +
.../plugin/authn/webauthn/admin/impl/StorePublicKeyCredentialTest.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/CreatePublicKeyCredentialCreationOptionsTest.java b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/CreatePublicKeyCredentialCreationOptionsTest.java
index bcadebf..5fb3e84 100644
--- a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/CreatePublicKeyCredentialCreationOptionsTest.java
+++ b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/CreatePublicKeyCredentialCreationOptionsTest.java
@@ -58,6 +58,7 @@ public class CreatePublicKeyCredentialCreationOptionsTest extends AbstractWebAut
context.setResidentKeyRequirement(ResidentKeyRequirement.PREFERRED);
context.setDisplayName("display name");
context.setUsername("username");
+ context.setWebAuthnUsername("username");
context.setUserId(generateRandomBytes(10));
context.setAttestationConveyancePreference(AttestationConveyancePreference.NONE);
diff --git a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/StorePublicKeyCredentialTest.java b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/StorePublicKeyCredentialTest.java
index 8aac3dd..5aa1a58 100644
--- a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/StorePublicKeyCredentialTest.java
+++ b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/StorePublicKeyCredentialTest.java
@@ -60,6 +60,7 @@ public class StorePublicKeyCredentialTest extends AbstractWebAuthnTest {
regContext = addWebAuthnRegistrationContext();
regContext.setUsername("jdoe");
+ regContext.setWebAuthnUsername("jdoe");
regContext.setDisplayName("John Doe");
userId = generateRandomBytes(16);
regContext.setUserId(userId);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list