From f7b323e22383da042a1eb5cfcde9dca9097b20d0 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Tue, 13 Aug 2019 10:30:48 +0800 Subject: [PATCH] Fixed db regression tests refs #10993 --- core/test/regression/api/v0.1/db_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/test/regression/api/v0.1/db_spec.js b/core/test/regression/api/v0.1/db_spec.js index 0b9b70fb8f..5a637bab65 100644 --- a/core/test/regression/api/v0.1/db_spec.js +++ b/core/test/regression/api/v0.1/db_spec.js @@ -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(); }); });