backups: use a real targetId
This commit is contained in:
@@ -24,7 +24,7 @@ const backupTargets = require('../backuptargets.js'),
|
||||
const chunk = s3._chunk;
|
||||
|
||||
describe('Storage', function () {
|
||||
const { setup, cleanup } = common;
|
||||
const { setup, cleanup, getDefaultBackupTarget } = common;
|
||||
|
||||
before(setup);
|
||||
after(cleanup);
|
||||
@@ -41,9 +41,7 @@ describe('Storage', function () {
|
||||
|
||||
before(async function () {
|
||||
gTmpFolder = fs.mkdtempSync(path.join(os.tmpdir(), 'filesystem-storage-test_'));
|
||||
|
||||
defaultBackupTarget = await backupTargets._getDefault();
|
||||
|
||||
defaultBackupTarget = await getDefaultBackupTarget();
|
||||
gBackupConfig.backupFolder = path.join(gTmpFolder, 'backups/');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user