Closed AndreTheHunter closed 6 years ago
Merged your PR. Thanks for the contribution!
@AndreTheHunter I went ahead and tweaked the test code as well so you can configure the DB connection https://github.com/metabase/toucan#tests--linting
You should be able to run tests locally now
@camsaul
When testing my application I get at
java.lang.AssertionError: Assert failed: (integer? id)
fortoucan.db/update!
. The:pre
condition assumes the id is integer, however we use UUIDs.I've created a PR: https://github.com/metabase/toucan/pull/19
Also, I can not run the tests locally. I get a
org.postgresql.util.PSQLException: The server requested password-based authentication, but no password was provided.
error. I think a local testing db is needed (atoucan_test
database?). I'd recommend setting up a global fixture that creates the db if required.Also, switch to CircleCI 2.0 https://circleci.com/docs/2.0/migrating-from-1-2/, then the same docker container used for the testing database could be run locally.