Commit 8c87c0db by Johannes Zellner

Use appId in tests everywhere

1 parent 7c789cb5
Showing with 2 additions and 2 deletions
......@@ -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');
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!