Sanitize HTML in ReportView
[akkoma] / test / object / containment_test.exs
index 4520640939f7d72b26193be97fdc18af30a93558..a7a046203a5d24ef5b8aed51f0b2fed89654dde0 100644 (file)
@@ -6,6 +6,11 @@ defmodule Pleroma.Object.ContainmentTest do
 
   import Pleroma.Factory
 
+  setup_all do
+    Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
+    :ok
+  end
+
   describe "general origin containment" do
     test "contain_origin_from_id() catches obvious spoofing attempts" do
       data = %{