Skip to content

Commit

Permalink
#741 fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdaigneau5 committed Jul 5, 2023
1 parent cc906dc commit 87f4f45
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/integration-tests/cve-id/getCveIdTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 () => {
Expand All @@ -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 () => {
Expand Down

0 comments on commit 87f4f45

Please sign in to comment.