Add backup config test for each backend

This commit is contained in:
Johannes Zellner
2016-10-11 11:36:25 +02:00
parent 449f8b03ad
commit cac85b17bc
6 changed files with 84 additions and 18 deletions

View File

@@ -15,7 +15,9 @@ exports = module.exports = {
getLocalFilePath: getLocalFilePath,
copyObject: copyObject,
removeBackup: removeBackup
removeBackup: removeBackup,
testConfig: testConfig
};
var assert = require('assert');
@@ -100,3 +102,12 @@ function removeBackup(apiConfig, backupId, appBackupIds, callback) {
callback(new Error('not implemented'));
}
function testConfig(apiConfig, callback) {
assert.strictEqual(typeof apiConfig, 'object');
assert.strictEqual(typeof callback, 'function');
// Result: none
callback(new Error('not implemented'));
}