Fix settings file migration test

This commit is contained in:
Nick O'Leary 2020-09-25 18:29:47 +01:00
parent b61701fa17
commit 91c2f479bb
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ describe('storage/localfilesystem/settings', function() {
}
localfilesystemSettings.init({userDir:userDir}).then(async function() {
fs.existsSync(settingsFile).should.be.false();
// (For now) leave the old settings file in place
fs.existsSync(settingsFile).should.be.true();
await checkFile("nodes",{a:1})
await checkFile("users",{b:2})
await checkFile("projects",{c:3})