File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 env :
2323 GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
2424 - name : Build with Maven
25- run : mvn -B -Dgpg.passphrase=${GPG_PASSPHRASE} install --file pom.xml
25+ run : mvn -B -Dgpg.passphrase=${GPG_PASSPHRASE} -Dtest=org.purejava.KeepassProxyAccessTest install --file pom.xml
2626 env :
2727 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
2828
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ protected JSONObject getCleartextResponse() throws IOException {
7676 private String getSocketPath () {
7777 if (SystemUtils .IS_OS_LINUX ) {
7878 String path = System .getenv ("XDG_RUNTIME_DIR" );
79- return (path == null ) ? System .getenv ("TMPDIR" ) : System .getenv ("XDG_RUNTIME_DIR" );
79+ if (null == path ) path = System .getenv ("TMPDIR" );
80+ return (null == path ) ? "/tmp" : path ;
8081 }
8182 if (SystemUtils .IS_OS_MAC_OSX ) {
8283 return System .getenv ("TMPDIR" );
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public void shouldThrowException() {
2424 kpa .associate ();
2525 });
2626
27- String expectedMessage = "Connection refused " ;
27+ String expectedMessage = "No such file or directory " ;
2828 String actualMessage = exception .getMessage ();
2929
3030 assertTrue (actualMessage .contains (expectedMessage ));
You can’t perform that action at this time.
0 commit comments