Skip to content

Commit

Permalink
test(client-api): fix jsap path when running tests
Browse files Browse the repository at this point in the history
Using file.getPath instead of resource.getPath to get
readable paths also in windows.
  • Loading branch information
relu91 committed Jan 23, 2024
1 parent 3292572 commit b1f7261
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ public ConfigurationProvider() throws SEPAPropertiesException, SEPASecurityExcep
throw new SEPAPropertiesException("File not found: " + jsapPath);
}

Logging.logger.debug("Loading JSAP from: " + jsapPath);
Logging.logger.debug("Loading JSAP from: " + f.getPath());

try {
appProfile = new JSAP(jsapPath);
appProfile = new JSAP(f.getPath());
} catch (SEPAPropertiesException e) {
Logging.logger.error(e.getMessage());
throw new RuntimeException(e);
Expand Down

0 comments on commit b1f7261

Please sign in to comment.