mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
10d9e3b083
* Add revenue goal option to goal creation This commit adds a currency field to the goals form. Goals that have a currency set are now revenue goals, and are cached with sites to later be used during ingestion. Co-authored-by: Robert Joonas <robertjoonas16@gmail.com> * Enable feature flag in tests --------- Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
35 lines
911 B
Elixir
35 lines
911 B
Elixir
import Config
|
|
|
|
# We don't run a server during test. If one is required,
|
|
# you can enable the server option below.
|
|
config :plausible, PlausibleWeb.Endpoint, server: false
|
|
|
|
config :bcrypt_elixir, :log_rounds, 4
|
|
|
|
config :plausible, Plausible.Repo, pool: Ecto.Adapters.SQL.Sandbox
|
|
|
|
config :plausible, Plausible.ClickhouseRepo,
|
|
loggers: [Ecto.LogEntry],
|
|
pool_size: 5
|
|
|
|
config :plausible, Plausible.Mailer, adapter: Bamboo.TestAdapter
|
|
|
|
config :plausible,
|
|
paddle_api: Plausible.PaddleApi.Mock,
|
|
google_api: Plausible.Google.Api.Mock
|
|
|
|
config :plausible, :google,
|
|
client_id: "fake_client_id",
|
|
client_secret: "fake_client_secret"
|
|
|
|
config :bamboo, :refute_timeout, 10
|
|
|
|
config :plausible,
|
|
session_timeout: 0,
|
|
http_impl: Plausible.HTTPClient.Mock,
|
|
sites_by_domain_cache_enabled: false
|
|
|
|
config :ex_money, api_module: Plausible.ExchangeRateMock
|
|
|
|
config :plausible, Plausible.Ingestion.Counters, enabled: false
|