backups: make listing by site only return box backups

This commit is contained in:
Girish Ramakrishnan
2025-10-07 12:11:16 +02:00
parent 68dd1fbedb
commit 6ac914904e
2 changed files with 2 additions and 2 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(2); // this contains the box & mail backup, should it?
expect(response.body.backups.length).to.be(1); // only box backups are listed
});