resolved activity view test
[akkoma] / test / web / activity_pub / transmogrifier_test.exs
index e74b8f9a129efb099c64c9bde87a60fd8f723aa5..fa526a2226e2ebd8cd272e1fcd35dbed85c39edd 100644 (file)
@@ -12,6 +12,11 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do
   import Pleroma.Factory
   alias Pleroma.Web.CommonAPI
 
+  setup_all do
+    Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
+    :ok
+  end
+
   describe "handle_incoming" do
     test "it ignores an incoming notice if we already have it" do
       activity = insert(:note_activity)