[java-identity-provider] branch master updated: Override Spring context class to fix failing tests.

Scott Cantor cantor.2 at osu.edu
Tue Jul 31 19:27:14 EDT 2018


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=9ca6eb898557f3b6219712f851df3131b1e5b4c0

The following commit(s) were added to refs/heads/master by this push:
       new  9ca6eb8   Override Spring context class to fix failing tests.
9ca6eb8 is described below

commit 9ca6eb898557f3b6219712f851df3131b1e5b4c0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jul 31 19:27:12 2018 -0400

    Override Spring context class to fix failing tests.
---
 .../idp/test/spring/IdPPropertiesApplicationContextInitializerTest.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idp-conf/src/test/java/net/shibboleth/idp/test/spring/IdPPropertiesApplicationContextInitializerTest.java b/idp-conf/src/test/java/net/shibboleth/idp/test/spring/IdPPropertiesApplicationContextInitializerTest.java
index 840f6ef..8023fd7 100644
--- a/idp-conf/src/test/java/net/shibboleth/idp/test/spring/IdPPropertiesApplicationContextInitializerTest.java
+++ b/idp-conf/src/test/java/net/shibboleth/idp/test/spring/IdPPropertiesApplicationContextInitializerTest.java
@@ -41,6 +41,7 @@ public class IdPPropertiesApplicationContextInitializerTest {
 
     @BeforeMethod public void setUp() {
         sc = new MockServletContext("");
+        sc.addInitParameter(ContextLoader.CONTEXT_CLASS_PARAM, "net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext");
         sc.addInitParameter(ContextLoader.CONFIG_LOCATION_PARAM, "classpath:/system/conf/global-system.xml");
         sc.addInitParameter(ContextLoader.CONTEXT_INITIALIZER_CLASSES_PARAM,
                 IdPPropertiesApplicationContextInitializer.class.getName());

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


More information about the commits mailing list