Remove test for moving existing target dir during data dir migration
Functionality removed in 0be67dbda5
This commit is contained in:
parent
2c9c057360
commit
7447525d75
1 changed files with 0 additions and 12 deletions
|
@ -337,18 +337,6 @@ describe("Zotero.DataDirectory", function () {
|
||||||
yield checkMigration();
|
yield checkMigration();
|
||||||
});
|
});
|
||||||
|
|
||||||
add("should move existing directory out of the way", function* () {
|
|
||||||
yield populateDataDirectory(oldDir);
|
|
||||||
yield OS.File.makeDir(newDir, { unixMode: 0o755 });
|
|
||||||
yield Zotero.File.putContentsAsync(OS.Path.join(newDir, 'existing'), '');
|
|
||||||
|
|
||||||
yield Zotero.DataDirectory.migrate(oldDir, newDir);
|
|
||||||
yield checkMigration();
|
|
||||||
|
|
||||||
assert.isTrue(yield OS.File.exists(OS.Path.join(newDir + "-1", 'existing')));
|
|
||||||
yield removeDir(newDir + "-1");
|
|
||||||
});
|
|
||||||
|
|
||||||
// Run all tests again without using mv
|
// Run all tests again without using mv
|
||||||
//
|
//
|
||||||
// On Windows these will just be duplicates of the above tests.
|
// On Windows these will just be duplicates of the above tests.
|
||||||
|
|
Loading…
Add table
Reference in a new issue