backups: add backup multiple targets
This commit is contained in:
@@ -119,11 +119,12 @@ describe('Backups API', function () {
|
||||
};
|
||||
|
||||
it('can get backup_config (default)', async function () {
|
||||
const response = await superagent.get(`${serverUrl}/api/v1/backups/config`)
|
||||
const response = await superagent.get(`${serverUrl}/api/v1/backup_targets`)
|
||||
.query({ access_token: owner.token });
|
||||
|
||||
expect(response.status).to.equal(200);
|
||||
expect(response.body).to.eql(defaultConfig);
|
||||
expect(response.body.config).to.eql(defaultConfig);
|
||||
expect(response.body.config).to.eql(defaultConfig);
|
||||
});
|
||||
|
||||
it('cannot set backup_config without provider', async function () {
|
||||
|
||||
Reference in New Issue
Block a user