Fix cli usage
This commit is contained in:
parent
5c2f3394a1
commit
6a182994b6
@ -316,7 +316,7 @@ describe('Selfhost DigitalOcean with filesystem backend', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can download backups', function () {
|
it('can download backups', function () {
|
||||||
var out = machine('backup download ' + DO_SELFHOST_DOMAIN + ' --backup-id ' + backupInfo.id + ' ' + BACKUP_FOLDER);
|
var out = machine('backup download --cloudron ' + DO_SELFHOST_DOMAIN + ' ' + backupInfo.id + ' ' + BACKUP_FOLDER);
|
||||||
console.log(out.stdout, out.stderr);
|
console.log(out.stdout, out.stderr);
|
||||||
|
|
||||||
if (out.stdout.indexOf(backupInfo.id) === -1) assert(false, 'Download failed');
|
if (out.stdout.indexOf(backupInfo.id) === -1) assert(false, 'Download failed');
|
||||||
|
Loading…
Reference in New Issue
Block a user