[java-identity-provider] branch master updated: Test class was violating ApplicationContextBuilder API contract.

Scott Cantor cantor.2 at osu.edu
Thu Oct 24 20:05:48 EDT 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=80405e4b30a831e7d43592dff6f33219682fe645

The following commit(s) were added to refs/heads/master by this push:
       new  80405e4   Test class was violating ApplicationContextBuilder API contract.
80405e4 is described below

commit 80405e4b30a831e7d43592dff6f33219682fe645
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 24 20:05:42 2019 -0400

    Test class was violating ApplicationContextBuilder API contract.
---
 .../spring/relyingparty/security/AbstractSecurityParserTest.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/AbstractSecurityParserTest.java b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/AbstractSecurityParserTest.java
index 9c004c4..83b25ae 100644
--- a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/AbstractSecurityParserTest.java
+++ b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/security/AbstractSecurityParserTest.java
@@ -67,7 +67,7 @@ public class AbstractSecurityParserTest {
     }
 
     protected <T> T getBean(final String name, final Class<T> claz, final String... files) throws IOException{
-        final Resource[] resources = new Resource[files.length + 1];
+        final Resource[] resources = new Resource[files.length];
         
         for (int i = 0; i < files.length; i++) {
             resources[i] = new ClassPathResource(PATH + files[i]);

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


More information about the commits mailing list