[java-idp-plugin-duo] branch main updated: Update failing test.

Scott Cantor cantor.2 at osu.edu
Thu Jan 4 16:21:38 UTC 2024


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

scantor pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=734a067b0c2dd75112e58d24d6d7c747d1572fca

The following commit(s) were added to refs/heads/main by this push:
     new 734a067b Update failing test.
734a067b is described below

commit 734a067b0c2dd75112e58d24d6d7c747d1572fca
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 4 11:21:35 2024 -0500

    Update failing test.
---
 .../idp/plugin/authn/duo/impl/CheckPasswordlessEnrollmentTest.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollmentTest.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollmentTest.java
index d2fffac3..24c5c69a 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollmentTest.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/duo/impl/CheckPasswordlessEnrollmentTest.java
@@ -20,6 +20,7 @@ import java.util.Set;
 
 import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
+import javax.security.auth.Subject;
 
 import org.springframework.core.io.ClassPathResource;
 import org.springframework.mock.web.MockHttpServletRequest;
@@ -195,6 +196,7 @@ public class CheckPasswordlessEnrollmentTest extends AbstractDuoActionTest {
         ensureMockRequest().setCookies(cookie);
         
         prc.ensureSubcontext(SessionContext.class).setIdPSession(new MockIdPSession());
+        ac.getActiveResults().put("foo", new AuthenticationResult("foo", new Subject()));
         
         final Event event = action.execute(src);
         ActionTestingSupport.assertProceedEvent(event);

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


More information about the commits mailing list