mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
9137fe1fd5
* Remove init_admin from test_helper * Create admin user in test that needs it
7 lines
271 B
Elixir
7 lines
271 B
Elixir
{:ok, _} = Application.ensure_all_started(:ex_machina)
|
|
ExUnit.configure(formatters: [JUnitFormatter, ExUnit.CLIFormatter])
|
|
Plausible.Test.ClickhouseSetup.run()
|
|
ExUnit.start()
|
|
Application.ensure_all_started(:double)
|
|
Ecto.Adapters.SQL.Sandbox.mode(Plausible.Repo, :manual)
|