Fix path for export test

Fix the path tested for the export-data command test incorrectly using
the project root instead of temp/test.
This commit is contained in:
Hornwitser committed 2020-10-22 16:38:46 +02:00
1 parent 7bba6cbde6
commit c5a14db8ea
1 file changed
+3 -1
+3 -1
View File
@@ -59,8 +59,10 @@ describe("Integration of Clusterio", function() {
describe("instance export-data", function() {
it("exports the data", async function() {
slowTest(this);
let exportPath = path.join("temp", "test", "static", "export", "locale.json");
await fs.remove(exportPath);
await execCtl("instance export-data test");
assert(await fs.exists(path.join("static", "export", "locale.json")), "Export was not created");
assert(await fs.exists(exportPath), "Export was not created");
await checkInstanceStatus(44, "stopped");
});
});