mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
7f51928338
* Remove business tier feature flag This commit removes all code branches related to the business tier feature flag, as we're not flipping this flag off anymore. It also removes unused routes, e.g. /billing/change-plan and /billing/upgrade * remove unused billing templates * refactor with clause to case instead * assert on the url in email tests --------- Co-authored-by: Robert Joonas <robertjoonas16@gmail.com>
14 lines
480 B
Elixir
14 lines
480 B
Elixir
{:ok, _} = Application.ensure_all_started(:ex_machina)
|
|
Mox.defmock(Plausible.HTTPClient.Mock, for: Plausible.HTTPClient.Interface)
|
|
Application.ensure_all_started(:double)
|
|
FunWithFlags.enable(:window_time_on_page)
|
|
Ecto.Adapters.SQL.Sandbox.mode(Plausible.Repo, :manual)
|
|
|
|
if Mix.env() == :small_test do
|
|
IO.puts("Test mode: SMALL")
|
|
ExUnit.configure(exclude: [:slow, :full_build_only])
|
|
else
|
|
IO.puts("Test mode: FULL")
|
|
ExUnit.configure(exclude: [:slow, :small_build_only])
|
|
end
|