diff --git a/src/common_clj/component/postgresql.clj b/src/common_clj/component/postgresql.clj index f0e189db..b81f2eae 100644 --- a/src/common_clj/component/postgresql.clj +++ b/src/common_clj/component/postgresql.clj @@ -65,7 +65,7 @@ "/" (.getDatabaseName postgresql-container)) :initial-pool-size 3 :max-pool-size 14}) - schema-sql (slurp "resources/schema.sql")] + schema-sql (slurp "test/resources/schema.sql")] (jdbc/execute! db-connection [schema-sql]) diff --git a/test/integration/integration/rate_limiter_component.clj b/test/integration/integration/rate_limiter_component.clj index 8c3ba25c..123db079 100644 --- a/test/integration/integration/rate_limiter_component.clj +++ b/test/integration/integration/rate_limiter_component.clj @@ -56,7 +56,7 @@ (def ^:private system-test (component/system-map - :config (component.config/new-config "resources/config_test.json" :test :json) + :config (component.config/new-config "test/resources/config_test.json" :test :json) :routes (component/using (component.routes/new-routes routes-example) [:config]) :rate-limiter (component.rate-limiter/new-rate-limiter rate-limiters-definition) :service (component/using (component.service/new-service) [:config :routes :rate-limiter]))) diff --git a/test/integration/integration/recaptcha_validation_interceptor_test.clj b/test/integration/integration/recaptcha_validation_interceptor_test.clj index 9f7bfae5..a2a9e301 100644 --- a/test/integration/integration/recaptcha_validation_interceptor_test.clj +++ b/test/integration/integration/recaptcha_validation_interceptor_test.clj @@ -20,7 +20,7 @@ (def ^:private system-test-with-recaptcha-v3-validation-disabled (component/system-map - :config (component.config/new-config "resources/config_test.json" :test :json) + :config (component.config/new-config "test/resources/config_test.json" :test :json) :routes (component/using (component.routes/new-routes routes-example) [:config]) :service (component/using (component.service/new-service) [:config :routes]))) @@ -36,7 +36,7 @@ (def ^:private system-test-with-recaptcha-v3-validation-enabled (component/system-map - :config (component.config/new-config "resources/config.test.recaptcha_validation_enabled.edn" :test :edn) + :config (component.config/new-config "test/resources/config.test.recaptcha_validation_enabled.edn" :test :edn) :routes (component/using (component.routes/new-routes routes-example) [:config]) :service (component/using (component.service/new-service) [:config :routes]))) diff --git a/test/integration/integration/resource_existence_check_interceptor_test.clj b/test/integration/integration/resource_existence_check_interceptor_test.clj index c40088a3..46c7efd9 100644 --- a/test/integration/integration/resource_existence_check_interceptor_test.clj +++ b/test/integration/integration/resource_existence_check_interceptor_test.clj @@ -38,7 +38,7 @@ (def ^:private system-test (component/system-map - :config (component.config/new-config "resources/config_test.json" :test :json) + :config (component.config/new-config "test/resources/config_test.json" :test :json) :routes (component/using (component.routes/new-routes routes-example) [:config]) :datomic (component/using (component.datomic/new-datomic schemas) [:config]) :service (component/using (component.service/new-service) [:config :datomic :routes]))) diff --git a/test/integration/integration/schema_in_interceptor_test.clj b/test/integration/integration/schema_in_interceptor_test.clj index bed043f1..0d43ac1d 100644 --- a/test/integration/integration/schema_in_interceptor_test.clj +++ b/test/integration/integration/schema_in_interceptor_test.clj @@ -20,7 +20,7 @@ (def ^:private system-test (component/system-map - :config (component.config/new-config "resources/config_test.json" :test :json) + :config (component.config/new-config "test/resources/config_test.json" :test :json) :routes (component/using (component.routes/new-routes routes-example) [:config]) :service (component/using (component.service/new-service) [:config :routes]))) diff --git a/test/integration/integration/service_component_test.clj b/test/integration/integration/service_component_test.clj index 5e9bf38a..f4a2b966 100644 --- a/test/integration/integration/service_component_test.clj +++ b/test/integration/integration/service_component_test.clj @@ -23,7 +23,7 @@ (def ^:private system-test (component/system-map - :config (component.config/new-config "resources/config_test.json" :test :json) + :config (component.config/new-config "test/resources/config_test.json" :test :json) :routes (component/using (component.routes/new-routes routes-example) [:config]) :service (component/using (component.service/new-service) [:config :routes]))) diff --git a/test/integration/integration/telegram_consumer_component_test.clj b/test/integration/integration/telegram_consumer_component_test.clj index 8c84d10e..be0335ef 100644 --- a/test/integration/integration/telegram_consumer_component_test.clj +++ b/test/integration/integration/telegram_consumer_component_test.clj @@ -25,7 +25,7 @@ (def system-test (component/system-map - :config (component.config/new-config "resources/config_test.json" :test :json) + :config (component.config/new-config "test/resources/config_test.json" :test :json) :telegram-consumer (component/using (component.telegram.consumer/new-mock-telegram-consumer consumers) [:config]))) (s/deftest telegram-consumer-component-test