analytics/test/test_helper.exs

8 lines
304 B
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
{:ok, _} = Application.ensure_all_started(:ex_machina)
Plausible.Test.ClickhouseSetup.run()
Mimic.copy(FunWithFlags)
2022-09-23 13:22:43 +03:00
Mox.defmock(Plausible.HTTPClient.Mock, for: Plausible.HTTPClient.Interface)
2019-09-02 14:29:19 +03:00
ExUnit.start()
Application.ensure_all_started(:double)
2019-09-02 14:29:19 +03:00
Ecto.Adapters.SQL.Sandbox.mode(Plausible.Repo, :manual)