projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
formatting the code
[akkoma]
/
test
/
web
/
activity_pub
/
transmogrifier_test.exs
diff --git
a/test/web/activity_pub/transmogrifier_test.exs
b/test/web/activity_pub/transmogrifier_test.exs
index faba80354c0c3c9b8a58ee694e91958d3f76d9f3..fa526a2226e2ebd8cd272e1fcd35dbed85c39edd 100644
(file)
--- a/
test/web/activity_pub/transmogrifier_test.exs
+++ b/
test/web/activity_pub/transmogrifier_test.exs
@@
-12,10
+12,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