diff --git a/src/routes/test/apps-test.js b/src/routes/test/apps-test.js index c44d4781a..d52377d7f 100644 --- a/src/routes/test/apps-test.js +++ b/src/routes/test/apps-test.js @@ -115,14 +115,16 @@ describe('Apps', function () { console.log('Starting addons, this can take 10 seconds'); safe.fs.unlinkSync(paths.DATA_DIR + '/INFRA_VERSION'); + safe.fs.writeFileSync(paths.DATA_DIR + '/cert', 'utf8'); + safe.fs.writeFileSync(paths.DATA_DIR + '/key', 'utf8'); var args = [ path.resolve(__dirname + '/../../scripts/setup_infra.sh'), paths.DATA_DIR, config.fqdn(), config.adminFqdn(), - 'cert', - 'key', + paths.DATA_DIR + '/cert', + paths.DATA_DIR + '/key', config.database().name, '"' + config.database().password + '"' // can be empty... ];