[java-idp-integration-tests] branch main updated: Fix path to truststores directory on Windows

Tom Zeller tzeller at dragonacea.biz
Thu Jan 5 15:43:33 UTC 2023


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

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=7c9e83dac0cc4d40a120bc591de39bd54dbe008c

The following commit(s) were added to refs/heads/main by this push:
     new 7c9e83d  Fix path to truststores directory on Windows
7c9e83d is described below

commit 7c9e83dac0cc4d40a120bc591de39bd54dbe008c
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Jan 5 09:43:18 2023 -0600

    Fix path to truststores directory on Windows
---
 src/test/java/net/shibboleth/idp/integration/tests/PluginTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/PluginTest.java b/src/test/java/net/shibboleth/idp/integration/tests/PluginTest.java
index 1a02417..67e6026 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/PluginTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/PluginTest.java
@@ -69,7 +69,7 @@ public class PluginTest extends BaseIntegrationTest {
      * Set up paths to :
      * <ul>
      * <li>truststores directory</li>
-     * <li>IdP homea directory</li>
+     * <li>IdP home directory</li>
      * <li>plugin CLI</li>
      * <li>build CLI</li>
      * </ul>
@@ -80,7 +80,7 @@ public class PluginTest extends BaseIntegrationTest {
     @BeforeClass
     public void setUpPaths() throws Exception {
 
-        pathToTruststores = Paths.get(PluginTest.class.getResource(truststoresResource).getFile());
+        pathToTruststores = new File(getClass().getResource(truststoresResource).getFile()).toPath();
         Assert.assertTrue(pathToTruststores.toAbsolutePath().toFile().exists());
 
         idpHome = pathToIdPHome.toAbsolutePath().toFile();

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


More information about the commits mailing list