2021-01-13 16:41:16 +03:00
|
|
|
import Config
|
2019-09-02 14:29:19 +03:00
|
|
|
|
|
|
|
# We don't run a server during test. If one is required,
|
|
|
|
# you can enable the server option below.
|
2021-01-13 17:15:03 +03:00
|
|
|
config :plausible, PlausibleWeb.Endpoint, server: false
|
2019-09-02 14:29:19 +03:00
|
|
|
|
|
|
|
config :bcrypt_elixir, :log_rounds, 4
|
|
|
|
|
2021-01-13 18:04:01 +03:00
|
|
|
config :plausible, Plausible.Repo, pool: Ecto.Adapters.SQL.Sandbox
|
2020-05-07 14:28:41 +03:00
|
|
|
|
2020-09-17 16:36:01 +03:00
|
|
|
config :plausible, Plausible.ClickhouseRepo,
|
|
|
|
loggers: [Ecto.LogEntry],
|
2021-01-13 17:15:03 +03:00
|
|
|
pool_size: 5
|
2020-06-11 09:30:00 +03:00
|
|
|
|
2020-05-26 16:09:34 +03:00
|
|
|
config :plausible, Plausible.Mailer, adapter: Bamboo.TestAdapter
|
2019-09-02 14:29:19 +03:00
|
|
|
|
|
|
|
config :plausible,
|
2019-11-20 11:42:45 +03:00
|
|
|
paddle_api: Plausible.PaddleApi.Mock,
|
2024-03-12 20:08:25 +03:00
|
|
|
google_api: Plausible.Google.API.Mock
|
2019-12-03 12:42:17 +03:00
|
|
|
|
2021-12-06 15:22:18 +03:00
|
|
|
config :bamboo, :refute_timeout, 10
|
|
|
|
|
2019-12-03 12:42:17 +03:00
|
|
|
config :plausible,
|
2022-09-23 13:22:43 +03:00
|
|
|
session_timeout: 0,
|
2024-01-30 12:11:29 +03:00
|
|
|
http_impl: Plausible.HTTPClient.Mock
|
|
|
|
|
|
|
|
config :plausible, Plausible.Cache, enabled: false
|
2023-02-23 16:34:24 +03:00
|
|
|
|
2023-05-23 13:08:09 +03:00
|
|
|
config :ex_money, api_module: Plausible.ExchangeRateMock
|
|
|
|
|
2023-02-23 16:34:24 +03:00
|
|
|
config :plausible, Plausible.Ingestion.Counters, enabled: false
|
2024-01-11 10:48:04 +03:00
|
|
|
|
|
|
|
config :plausible, Oban, testing: :manual
|