add identifier to backups table

This commit is contained in:
Girish Ramakrishnan
2020-06-14 11:29:07 -07:00
parent f6dcba025f
commit 4f964101a0
6 changed files with 54 additions and 4 deletions

View File

@@ -608,7 +608,7 @@ describe('database', function () {
});
it('can get all admins', function (done) {
userdb.getByRole('owner', function (error, all) {
userdb.getByRole('owner', function (error) {
expect(error).to.be.ok();
expect(error.reason).to.be(BoxError.NOT_FOUND);
done();
@@ -1327,6 +1327,7 @@ describe('database', function () {
encryptionVersion: 2,
packageVersion: '1.0.0',
type: backupdb.BACKUP_TYPE_BOX,
identifier: 'box',
dependsOn: [ 'dep1' ],
manifest: null,
format: 'tgz'
@@ -1396,6 +1397,7 @@ describe('database', function () {
encryptionVersion: null,
packageVersion: '1.0.0',
type: backupdb.BACKUP_TYPE_APP,
identifier: 'appid',
dependsOn: [ ],
manifest: { foo: 'bar' },
format: 'tgz'