Fixed db regression tests

refs #10993
This commit is contained in:
Fabien O'Carroll 2019-08-13 10:30:48 +08:00
parent daed29e185
commit f7b323e223

View File

@ -88,7 +88,7 @@ describe('DB API', function () {
var jsonResponse = res.body;
should.exist(jsonResponse.db);
jsonResponse.db.should.have.length(1);
Object.keys(jsonResponse.db[0].data).length.should.eql(26);
Object.keys(jsonResponse.db[0].data).length.should.eql(25);
done();
});
});
@ -106,7 +106,7 @@ describe('DB API', function () {
const jsonResponse = res.body;
should.exist(jsonResponse.db);
jsonResponse.db.should.have.length(1);
Object.keys(jsonResponse.db[0].data).length.should.eql(28);
Object.keys(jsonResponse.db[0].data).length.should.eql(27);
done();
});
});