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 17:15:03 +03:00
|
|
|
config :plausible, Plausible.Repo,
|
|
|
|
pool: Ecto.Adapters.SQL.Sandbox,
|
|
|
|
url: "postgres://postgres:postgres@127.0.0.1:5432/plausible_test"
|
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
|
|
|
|
2020-05-26 16:09:34 +03:00
|
|
|
config :junit_formatter,
|
|
|
|
report_file: "report.xml",
|
|
|
|
report_dir: File.cwd!(),
|
|
|
|
print_report_file: true,
|
|
|
|
prepend_project_name?: true,
|
|
|
|
include_filename?: true
|
|
|
|
|
2020-06-12 09:51:45 +03:00
|
|
|
config :geolix,
|
|
|
|
databases: [
|
|
|
|
%{
|
2020-06-12 11:15:19 +03:00
|
|
|
id: :country,
|
2020-06-12 09:51:45 +03:00
|
|
|
adapter: Geolix.Adapter.Fake,
|
|
|
|
data: %{{1, 1, 1, 1} => %{country: %{iso_code: "US"}}}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
2019-12-03 12:42:17 +03:00
|
|
|
config :plausible,
|
2021-01-13 17:15:03 +03:00
|
|
|
session_timeout: 0
|