diff --git a/test/suricatta/core_test.clj b/test/suricatta/core_test.clj index 6b340c5..530eb13 100644 --- a/test/suricatta/core_test.clj +++ b/test/suricatta/core_test.clj @@ -1,16 +1,12 @@ (ns suricatta.core-test (:require [clojure.test :refer :all] - [suricatta.core :as sc]) - (:import org.jooq.impl.DSL - org.jooq.util.postgres.PostgresDataType)) + [suricatta.core :as sc])) (def dbspec {:subprotocol "h2" :subname "mem:"}) (def pgdbspec {:subprotocol "postgresql" - :subname "//127.0.0.1:5433/test" - :user "test" - :password "test"}) + :subname "//127.0.0.1/test"}) (def ^:dynamic *ctx*) diff --git a/test/suricatta/extend_test.clj b/test/suricatta/extend_test.clj index bcedc5d..fe6d840 100644 --- a/test/suricatta/extend_test.clj +++ b/test/suricatta/extend_test.clj @@ -4,20 +4,14 @@ [suricatta.impl :as impl] [suricatta.proto :as proto] [cheshire.core :as json]) - (:import org.postgresql.util.PGobject - org.jooq.RenderContext - org.jooq.BindContext - org.jooq.QueryPart - org.jooq.impl.DSL)) + (:import org.postgresql.util.PGobject)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Connection setup ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (def dbspec {:subprotocol "postgresql" - :subname "//127.0.0.1:5433/test" - :user "test" - :password "test"}) + :subname "//127.0.0.1/test"}) (def ^:dynamic *ctx*)