Jelajahi Sumber

Adjust tests to backup subcommands

Johannes Zellner 8 tahun lalu
induk
melakukan
56e3ec5cd8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      test/test.js

+ 1 - 1
test/test.js

@@ -160,7 +160,7 @@ describe('Application life cycle test', function () {
     it('can check image', checkImage);
 
     it('backup app', function () {
-        execSync('cloudron backup --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
+        execSync('cloudron backup create --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
     });
 
     it('restore app', function () {