mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-17 23:06:28 +00:00
More test fixes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package io.xpipe.app.test;
|
||||
|
||||
import io.xpipe.app.core.mode.OperationMode;
|
||||
import io.xpipe.core.process.OsType;
|
||||
import lombok.SneakyThrows;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
|
||||
@@ -13,6 +14,7 @@ public class LocalExtensionTest extends ExtensionTest {
|
||||
return;
|
||||
}
|
||||
|
||||
OperationMode.init(new String[0]);
|
||||
var mode = OsType.getLocal().equals(OsType.WINDOWS) ? "tray" : "background";
|
||||
OperationMode.init(new String[] {"--mode", mode});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ testing {
|
||||
systemProperty "io.xpipe.app.dataDir", "$projectDir/local/"
|
||||
systemProperty "io.xpipe.app.logLevel", "trace"
|
||||
systemProperty "io.xpipe.app.writeSysOut", "true"
|
||||
systemProperty "io.xpipe.app.mode", "tray"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user