File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
22
env :
23
23
GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
24
24
- 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
26
26
env :
27
27
GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
28
28
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ protected JSONObject getCleartextResponse() throws IOException {
76
76
private String getSocketPath () {
77
77
if (SystemUtils .IS_OS_LINUX ) {
78
78
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 ;
80
81
}
81
82
if (SystemUtils .IS_OS_MAC_OSX ) {
82
83
return System .getenv ("TMPDIR" );
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public void shouldThrowException() {
24
24
kpa .associate ();
25
25
});
26
26
27
- String expectedMessage = "Connection refused " ;
27
+ String expectedMessage = "No such file or directory " ;
28
28
String actualMessage = exception .getMessage ();
29
29
30
30
assertTrue (actualMessage .contains (expectedMessage ));
You can’t perform that action at this time.
0 commit comments