Merge remote-tracking branch 'origin' into follower-hiding
[akkoma] / test / formatter_test.exs
index e4da84c101ad9bc7d7ae9dba3c055405bf81662f..5d745510f083b2d2b2a1103d0caeebebfcb8e1af 100644 (file)
@@ -5,6 +5,11 @@ defmodule Pleroma.FormatterTest do
 
   import Pleroma.Factory
 
+  setup_all do
+    Tesla.Mock.mock_global(fn env -> apply(HttpRequestMock, :request, [env]) end)
+    :ok
+  end
+
   describe ".add_hashtag_links" do
     test "turns hashtags into links" do
       text = "I love #cofe and #2hu"