backups: add backup multiple targets
This commit is contained in:
+1
-3
@@ -186,8 +186,6 @@ exports = module.exports = {
|
||||
user,
|
||||
appstoreToken: 'atoken',
|
||||
|
||||
defaultBackupTarget: { id: null },
|
||||
|
||||
serverUrl: `http://localhost:${constants.PORT}`,
|
||||
};
|
||||
|
||||
@@ -220,7 +218,7 @@ async function databaseSetup() {
|
||||
await database._clear();
|
||||
await appstore._setApiServerOrigin(exports.mockApiServerOrigin);
|
||||
await dashboard._setLocation(constants.DASHBOARD_SUBDOMAIN, exports.dashboardDomain);
|
||||
exports.defaultBackupTarget.id = await backupTargets._addDefaultTarget();
|
||||
await backupTargets._addDefault();
|
||||
}
|
||||
|
||||
async function domainSetup() {
|
||||
|
||||
Reference in New Issue
Block a user