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

DB Tests #972

Closed
kevin-kline opened this issue Dec 15, 2021 · 0 comments
Closed

DB Tests #972

kevin-kline opened this issue Dec 15, 2021 · 0 comments
Assignees
Labels
type/feature-request This issue is a proposal for something new

Comments

@kevin-kline
Copy link
Contributor

kevin-kline commented Dec 15, 2021

Description

Before we start our DB refactoring with migrations, we need to set up tests to verify everything works correctly after the refactor.

Describe the solution you'd like

Before refactor, we need tests to make sure we can insert every model type as of now into a mock database with GORM. This ensures that our current system is fully working and after we make migration changes, we can re-run the tests and make sure everything still works. Tests will fire up a blank new DB and will use GORM syntax to insert records into the DB and retrieve them to be sure they were inserted properly.

Has the Feature been Requested Before?

No.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

This belongs to epic: #806 (closed)
UPDATE: epic changed - #979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature-request This issue is a proposal for something new
Projects
None yet
Development

No branches or pull requests

2 participants