[java-identity-provider COMMIT] in /trunk/idp-authn-impl: pom.xml src/test/java/net/shibboleth/idp/authn/impl/BaseAut...

noreply at shibboleth.net noreply at shibboleth.net
Fri Oct 7 18:49:33 EDT 2016


Author: scantor
Date: Fri Oct  7 18:49:33 2016
New Revision: 8478

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8478&view=rev
Log:
Authn tests now require opensaml config init.

Modified:
    trunk/idp-authn-impl/pom.xml
    trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/BaseAuthenticationContextTest.java

Modified: trunk/idp-authn-impl/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/pom.xml?rev=8478&r1=8477&r2=8478&view=diff
==============================================================================
--- trunk/idp-authn-impl/pom.xml	(original)
+++ trunk/idp-authn-impl/pom.xml	Fri Oct  7 18:49:33 2016
@@ -90,6 +90,14 @@
         <!-- Test Dependencies -->
         <dependency>
             <groupId>${opensaml.groupId}</groupId>
+            <artifactId>opensaml-core</artifactId>
+            <version>${opensaml.version}</version>
+            <scope>test</scope>
+            <type>test-jar</type>
+        </dependency>
+        
+        <dependency>
+            <groupId>${opensaml.groupId}</groupId>
             <artifactId>opensaml-profile-api</artifactId>
             <version>${opensaml.version}</version>
             <scope>test</scope>

Modified: trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/BaseAuthenticationContextTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/BaseAuthenticationContextTest.java?rev=8478&r1=8477&r2=8478&view=diff
==============================================================================
--- trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/BaseAuthenticationContextTest.java	(original)
+++ trunk/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/impl/BaseAuthenticationContextTest.java	Fri Oct  7 18:49:33 2016
@@ -22,13 +22,14 @@
 import net.shibboleth.idp.profile.RequestContextBuilder;
 import net.shibboleth.idp.profile.context.navigate.WebflowRequestContextProfileRequestContextLookup;
 
+import org.opensaml.core.OpenSAMLInitBaseTestCase;
 import org.opensaml.profile.context.ProfileRequestContext;
 import org.springframework.webflow.execution.RequestContext;
 
 import com.google.common.collect.ImmutableList;
 
 /** Base class for further action tests. */
-public class BaseAuthenticationContextTest {
+public class BaseAuthenticationContextTest extends OpenSAMLInitBaseTestCase {
 
     protected RequestContext src;
     protected ProfileRequestContext prc;



More information about the commits mailing list