reverse proxy tests

This commit is contained in:
Alexander Strizhakov 2019-07-09 16:54:13 +00:00 committed by kaniini
commit 4e6e5d8042
12 changed files with 524 additions and 9 deletions

View file

@ -3,6 +3,6 @@
# SPDX-License-Identifier: AGPL-3.0-only
ExUnit.start()
Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual)
Mox.defmock(Pleroma.ReverseProxy.ClientMock, for: Pleroma.ReverseProxy.Client)
{:ok, _} = Application.ensure_all_started(:ex_machina)