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.
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.