mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Fix test error
This commit is contained in:
parent
22ebdab821
commit
b34a8e8c02
@ -66,15 +66,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
@ExtendWith(SeleniumExtension.class)
|
||||
class ExportJSErrorRegressionTest {
|
||||
|
||||
public static PluginMockComponent component;
|
||||
static Path tempDir;
|
||||
static Path exportDirectory;
|
||||
@Container
|
||||
public static NginxContainer<?> nginx = new NginxContainer<>("nginx:latest")
|
||||
.withCustomContent(exportDirectory.toFile().getAbsolutePath())
|
||||
.waitingFor(new HttpWaitStrategy());
|
||||
private static PlanSystem planSystem;
|
||||
private static ServerUUID serverUUID;
|
||||
|
||||
static {
|
||||
try {
|
||||
@ -88,6 +81,15 @@ class ExportJSErrorRegressionTest {
|
||||
}
|
||||
}
|
||||
|
||||
public static PluginMockComponent component;
|
||||
|
||||
@Container
|
||||
public static NginxContainer<?> nginx = new NginxContainer<>("nginx:latest")
|
||||
.withCustomContent(exportDirectory.toFile().getAbsolutePath())
|
||||
.waitingFor(new HttpWaitStrategy());
|
||||
private static PlanSystem planSystem;
|
||||
private static ServerUUID serverUUID;
|
||||
|
||||
@BeforeAll
|
||||
static void setUpClass() throws Exception {
|
||||
component = new PluginMockComponent(tempDir);
|
||||
|
Loading…
Reference in New Issue
Block a user