X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fformatter_test.exs;h=5d745510f083b2d2b2a1103d0caeebebfcb8e1af;hb=76d6b1c6ab2813b1fb8f4473e4d722cc32fb2fed;hp=e4da84c101ad9bc7d7ae9dba3c055405bf81662f;hpb=d0ec2812bd347469ebce8a4606953bd6c901db80;p=akkoma diff --git a/test/formatter_test.exs b/test/formatter_test.exs index e4da84c10..5d745510f 100644 --- a/test/formatter_test.exs +++ b/test/formatter_test.exs @@ -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"