diff --git a/test/integration-tests/cve-id/getCveIdTest.js b/test/integration-tests/cve-id/getCveIdTest.js index cc960cc9..3914f48e 100644 --- a/test/integration-tests/cve-id/getCveIdTest.js +++ b/test/integration-tests/cve-id/getCveIdTest.js @@ -10,9 +10,7 @@ const constants = require('../constants.js') const app = require('../../../src/index.js') describe('Testing Get CVE-ID endpoint', () => { - const PUBLISHED_COUNT = 67 const RESESRVED_COUNT = 116 - const REJECTED_COUNT = 52 const YEAR_COUNT = 10 const PUB_YEAR_COUNT = 4 const TIME_WINDOW_COUNT = 40 @@ -67,7 +65,6 @@ describe('Testing Get CVE-ID endpoint', () => { expect(err).to.be.undefined expect(res).to.have.status(200) expect(_.every(res.body.cve_ids, { state: 'PUBLISHED' })).to.be.true - expect(res.body.cve_ids).to.have.length(PUBLISHED_COUNT) }) }) it('Get all CVE-IDs in the REJECTED state', async () => { @@ -78,7 +75,6 @@ describe('Testing Get CVE-ID endpoint', () => { expect(err).to.be.undefined expect(res).to.have.status(200) expect(_.every(res.body.cve_ids, { state: 'REJECTED' })).to.be.true - expect(res.body.cve_ids).to.have.length(REJECTED_COUNT) }) }) it('Get all CVE-IDs with cve_id_year 1999', async () => {