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,
|
|
|
|
google_api: Plausible.Google.Api.Mock
|
2019-12-03 12:42:17 +03:00
|
|
|
|
2022-08-16 10:55:46 +03:00
|
|
|
config :plausible, :google,
|
|
|
|
client_id: "fake_client_id",
|
|
|
|
client_secret: "fake_client_secret"
|
|
|
|
|
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,
|
2022-11-16 12:06:23 +03:00
|
|
|
http_impl: Plausible.HTTPClient.Mock,
|
|
|
|
sites_by_domain_cache_enabled: false
|
2023-02-23 16:34:24 +03:00
|
|
|
|
|
|
|
config :plausible, Plausible.Ingestion.Counters, enabled: false
|