Allow to get backups by type in backupdb

This commit is contained in:
Johannes Zellner
2017-04-24 12:41:19 +02:00
parent 5b9d4daafe
commit 880f7b4cd3
3 changed files with 5 additions and 4 deletions

View File

@@ -1052,7 +1052,7 @@ describe('database', function () {
});
it('getPaged succeeds', function (done) {
backupdb.getPaged(1, 5, function (error, results) {
backupdb.getPaged(backupdb.BACKUP_TYPE_BOX, 1, 5, function (error, results) {
expect(error).to.be(null);
expect(results).to.be.an(Array);
expect(results.length).to.be(1);