Make embedded PG db-spec compliant with ->pool Spec

This commit is contained in:
Sean Corfield 2020-11-13 10:26:53 -08:00
parent 5737495c4e
commit 9d8e5f808a

View file

@ -21,7 +21,7 @@
(def ^:private test-sqlite {:dbtype "sqlite" :dbname "clojure_test_sqlite"})
;; this is just a dummy db-spec -- it's handled in with-test-db below
(def ^:private test-postgres-map {:dbtype "embedded-postgres"})
(def ^:private test-postgres-map {:dbtype "embedded-postgres" :dbname "clojure_test"})
(def ^:private test-postgres
(when-not (System/getenv "NEXT_JDBC_NO_POSTGRES") test-postgres-map))
;; it takes a while to spin up so we kick it off at startup