[java-identity-provider] branch master updated: Fix unit tests, error handling still in flux.

Scott Cantor cantor.2 at osu.edu
Mon Dec 2 22:44:37 EST 2019


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

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d4f40d79fe25d9af6a1f50e1fb0181f6b87c1feb

The following commit(s) were added to refs/heads/master by this push:
       new  d4f40d7   Fix unit tests, error handling still in flux.
d4f40d7 is described below

commit d4f40d79fe25d9af6a1f50e1fb0181f6b87c1feb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 2 22:44:35 2019 -0500

    Fix unit tests, error handling still in flux.
---
 .../idp/authn/proxy/impl/ExtractDiscoveryResponseTest.java          | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/proxy/impl/ExtractDiscoveryResponseTest.java b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/proxy/impl/ExtractDiscoveryResponseTest.java
index f003ad4..3e05b67 100644
--- a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/proxy/impl/ExtractDiscoveryResponseTest.java
+++ b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/proxy/impl/ExtractDiscoveryResponseTest.java
@@ -17,8 +17,6 @@
 
 package net.shibboleth.idp.authn.proxy.impl;
 
-
-import net.shibboleth.idp.authn.AuthnEventIds;
 import net.shibboleth.idp.authn.context.AuthenticationContext;
 import net.shibboleth.idp.authn.impl.BaseAuthenticationContextTest;
 import net.shibboleth.idp.profile.ActionTestingSupport;
@@ -47,14 +45,14 @@ public class ExtractDiscoveryResponseTest extends BaseAuthenticationContextTest
         action.initialize();
         final Event event = action.execute(src);
         
-        ActionTestingSupport.assertEvent(event, AuthnEventIds.NO_CREDENTIALS);
+        ActionTestingSupport.assertProceedEvent(event);
         Assert.assertNull(prc.getSubcontext(AuthenticationContext.class).getAuthenticatingAuthority());
     }
 
     @Test public void testFailure() throws Exception {
         final Event event = action.execute(src);
         
-        ActionTestingSupport.assertEvent(event, AuthnEventIds.NO_CREDENTIALS);
+        ActionTestingSupport.assertProceedEvent(event);
         Assert.assertNull(prc.getSubcontext(AuthenticationContext.class).getAuthenticatingAuthority());
     }
 

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


More information about the commits mailing list