From 8c87c0db33704755c3ff9a48fd0089d6ae72928d Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 26 Aug 2016 18:18:36 +0200 Subject: Use appId in tests everywhere --- test/test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test.js b/test/test.js index 23338da..7e1e856 100644 --- a/test/test.js +++ b/test/test.js @@ -41,7 +41,7 @@ describe('Application life cycle test', function () { done(); }); - var LOCATION = 'rctest'; + var LOCATION = 'surfer'; var TEST_TIMEOUT = 10000; var TEST_FILE_NAME_0 = 'index.html'; var TEST_FILE_NAME_1 = 'test.txt'; @@ -167,7 +167,7 @@ describe('Application life cycle test', function () { it('move to different location', function () { browser.manage().deleteAllCookies(); - execSync('cloudron install --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); + execSync('cloudron install --location ' + LOCATION + '2 --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' }); var inspect = JSON.parse(execSync('cloudron inspect')); app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0]; expect(app).to.be.an('object'); -- cgit v1.2.3