summaryrefslogtreecommitdiff
path: root/test/web/activity_pub
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2018-12-04 16:39:08 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2018-12-04 17:44:15 +0300
commit5c6d47614dfd72566a91ac58223902e71ebdf1d3 (patch)
tree0b6a65b72f764aa822d45c79b5eff6c2b3905474 /test/web/activity_pub
parenta9e4a975866c33553c477667c431187590329447 (diff)
downloadpleroma-5c6d47614dfd72566a91ac58223902e71ebdf1d3.tar.gz
pleroma-5c6d47614dfd72566a91ac58223902e71ebdf1d3.zip
all tests passed
Diffstat (limited to 'test/web/activity_pub')
-rw-r--r--test/web/activity_pub/activity_pub_controller_test.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/web/activity_pub/activity_pub_controller_test.exs b/test/web/activity_pub/activity_pub_controller_test.exs
index 1c24b348c..414759110 100644
--- a/test/web/activity_pub/activity_pub_controller_test.exs
+++ b/test/web/activity_pub/activity_pub_controller_test.exs
@@ -4,7 +4,10 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubControllerTest do
alias Pleroma.Web.ActivityPub.{UserView, ObjectView}
alias Pleroma.{Repo, User}
alias Pleroma.Activity
-
+ setup_all do
+ Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
+ :ok
+ end
describe "/relay" do
test "with the relay active, it returns the relay user", %{conn: conn} do
res =