filename is now id
This commit is contained in:
parent
dc2f70a519
commit
e609ae88d4
@ -284,7 +284,7 @@ Cloudron.prototype.backup = function () {
|
|||||||
common.verifyResponse2xx(res, 'Could not get backups');
|
common.verifyResponse2xx(res, 'Could not get backups');
|
||||||
var latestBackups = res.body.backups;
|
var latestBackups = res.body.backups;
|
||||||
assert.strictEqual(latestBackups.length, existingBackups.length + 1);
|
assert.strictEqual(latestBackups.length, existingBackups.length + 1);
|
||||||
return latestBackups[0]; // { creationTime, boxVersion, filename, dependsOn }
|
return latestBackups[0]; // { creationTime, boxVersion, id, dependsOn }
|
||||||
};
|
};
|
||||||
|
|
||||||
Cloudron.prototype.reboot = function () {
|
Cloudron.prototype.reboot = function () {
|
||||||
|
@ -82,7 +82,7 @@ describe('Cloudron backup testing', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can restore the box', function () {
|
it('can restore the box', function () {
|
||||||
appStore.restore(box.id, backupInfo.filename);
|
appStore.restore(box.id, backupInfo.id);
|
||||||
box = appStore.waitForCloudron(box.id);
|
box = appStore.waitForCloudron(box.id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -132,7 +132,7 @@ describe('Custom domain test', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('can restore the box', function () {
|
it('can restore the box', function () {
|
||||||
appStore.restore(box.id, backupInfo.filename);
|
appStore.restore(box.id, backupInfo.id);
|
||||||
box = appStore.waitForCloudron(box.id);
|
box = appStore.waitForCloudron(box.id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user