summaryrefslogtreecommitdiff
path: root/test/web/activity_pub
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2018-12-04 14:01:39 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2018-12-04 14:04:06 +0300
commita9e4a975866c33553c477667c431187590329447 (patch)
tree7e4c50f7c37d0343ebcb94860124f4fc908d0bb1 /test/web/activity_pub
parent7ec64ac33f52d2f5072b56f2f8eb5e9ce498e00f (diff)
downloadpleroma-a9e4a975866c33553c477667c431187590329447.tar.gz
pleroma-a9e4a975866c33553c477667c431187590329447.zip
update test
Diffstat (limited to 'test/web/activity_pub')
-rw-r--r--test/web/activity_pub/transmogrifier_test.exs7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs
index faba80354..eeb0cb5cf 100644
--- a/test/web/activity_pub/transmogrifier_test.exs
+++ b/test/web/activity_pub/transmogrifier_test.exs
@@ -11,11 +11,8 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
import Pleroma.Factory
alias Pleroma.Web.CommonAPI
-
- import Tesla.Mock
-
- setup do
- mock(fn env -> apply(HttpRequestMock, :request, [env]) end)
+ setup_all do
+ Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
:ok
end