Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves #1036 - cve-id/:id state parameter checks #1088

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Resolves #1036 - cve-id/:id state parameter checks #1088

merged 1 commit into from
Jun 27, 2023

Conversation

david-rocca
Copy link
Collaborator

Closes Issue #1036

Summary

After review, it was found that there is middleware already attached to the endpoint that only allows state to be set to REJECTED or RESERVED. When state is set to PUBLISHED, a 400 error is returned. This PR provides tests to confirm this case.

No non testing code was added.

Important Changes

  • test/integration-tests/cve-id/cveIdUpdateTest.js

Testing

Steps to manually test updated functionality, if possible

  • 1) run the following command: npm run test:integration

@jdaigneau5 jdaigneau5 merged commit eb634bc into dev Jun 27, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants