-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add endpoint for database reseed #170
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All tests passed. Verified reseed in Swagger and Studio
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reseeding worked and all tests passed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the changes looks good. The DB reseeds perfectly.
Description
Add an endpoint so we can reseed the database using the API. It will only proceed if NODE_ENV=development. Added e2e tests and unit tests
Issue link
https://app.clickup.com/t/86b0xdy8e
Type of change
How Has This Been Tested?
Tested on swagger and
yarn test:docker
Checklist: