Fix tests

This commit is contained in:
Girish Ramakrishnan
2025-10-07 09:34:35 +02:00
parent 3a0febe760
commit 6869380500
4 changed files with 28 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ describe('Backups API', function () {
const response = await superagent.get(`${serverUrl}/api/v1/backup_sites/${site.id}/backups`)
.query({ access_token: admin.token });
expect(response.status).to.equal(200);
expect(response.body.backups.length).to.be(1);
expect(response.body.backups.length).to.be(2); // this contains the box & mail backup, should it?
});