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

Phil Smart philip.smart at jisc.ac.uk
Mon Sep 16 08:18:08 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=1b271fa74960549cae914c16ebe0743989f970ec

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

commit 1b271fa74960549cae914c16ebe0743989f970ec
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Sep 16 09:18:05 2024 +0100

    Fix test
---
 .../shibboleth/idp/plugin/authn/webauthn/admin/impl/AddUserIdTest.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/AddUserIdTest.java b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/AddUserIdTest.java
index 14865bf..cad33e4 100644
--- a/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/AddUserIdTest.java
+++ b/webauthn-impl/src/test/java/net/shibboleth/idp/plugin/authn/webauthn/admin/impl/AddUserIdTest.java
@@ -44,6 +44,7 @@ public class AddUserIdTest extends AbstractWebAuthnTest {
     public void setup() throws Exception {
         super.setup();
         context = addWebAuthnRegistrationContext();
+        context.setUsername(USERNAME);
         addAction = new AddUserId();
         addAction.setWebAuthnClient(client);
         addAction.setCredentialRepository(credentialRepo);

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


More information about the commits mailing list