a927b2c3d8021267aedcc2057008e73d0df2116a
[akkoma] / test / test_helper.exs
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 os_exclude = if :os.type() == {:unix, :darwin}, do: [skip_on_mac: true], else: []
6 ExUnit.start(exclude: os_exclude)
7 Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
8 Mox.defmock(Pleroma.ReverseProxy.ClientMock, for: Pleroma.ReverseProxy.Client)
9 {:ok, _} = Application.ensure_all_started(:ex_machina)