Team-uMigrate / umigrate

Source code for the uMigrate project
13 stars 2 forks source link

Running API tests on Postgres docker instance #404

Closed deandrebaker closed 3 years ago

deandrebaker commented 3 years ago

Currently, all of our local testing is done using a sqlite database, yet the dev and prod servers use postgres databases. We can successfully run the api locally and connect it to postgres databases running in a docker container. However, when running the tests, the database does not seem to allow the api to create records in the tables. We need to investigate and solve this issue.

deandrebaker commented 3 years ago

Developers will use postgres while tests will use sqlite