mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
More test fixes
This commit is contained in:
parent
7e66df39e8
commit
3d30613a54
2 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue