Преглед на файлове

Missed one appId usage in the test

Johannes Zellner преди 8 години
родител
ревизия
e516698910
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      test/test.js

+ 2 - 2
test/test.js

@@ -139,7 +139,7 @@ describe('Application life cycle test', function () {
         execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
     });
 
-    xit('install app', function () {
+    it('install app', function () {
         execSync('cloudron install --new --wait --location ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
     });
 
@@ -173,7 +173,7 @@ describe('Application life cycle test', function () {
     it('can check image', checkImage);
 
     it('can restart app', function (done) {
-        execSync('cloudron restart');
+        execSync('cloudron restart --app ' + app.id);
         done();
     });