mobilizon/test/test_helper.exs

7 lines
220 B
Elixir

{:ok, _} = Application.ensure_all_started(:ex_machina)
ExUnit.configure(formatters: [JUnitFormatter, ExUnit.CLIFormatter, ExUnitNotifier])
ExUnit.start()
Ecto.Adapters.SQL.Sandbox.mode(Mobilizon.Storage.Repo, :manual)