Make embedded PG db-spec compliant with ->pool Spec
This commit is contained in:
parent
5737495c4e
commit
9d8e5f808a
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
(def ^:private test-sqlite {:dbtype "sqlite" :dbname "clojure_test_sqlite"})
|
(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
|
;; 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
|
(def ^:private test-postgres
|
||||||
(when-not (System/getenv "NEXT_JDBC_NO_POSTGRES") test-postgres-map))
|
(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
|
;; it takes a while to spin up so we kick it off at startup
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue