diff --git a/src/config.js b/src/config.js index 6c067ac0e..29316843c 100644 --- a/src/config.js +++ b/src/config.js @@ -96,6 +96,7 @@ function initConfig() { name: 'boxtest' }; data.token = 'APPSTORE_TOKEN'; + data.aws.backupBucket = 'testbucket'; } else { assert(false, 'Unknown environment. This should not happen!'); } @@ -109,6 +110,9 @@ function initConfig() { saveSync(); } +// cleanup any old config file we have for tests +if (exports.TEST) safe.fs.unlinkSync(cloudronConfigFileName); + initConfig(); // set(obj) or set(key, value)