X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fformatter_test.exs;h=d5c74a321eeb165341975b944fb20ef819af4adf;hb=5c6d47614dfd72566a91ac58223902e71ebdf1d3;hp=e4da84c101ad9bc7d7ae9dba3c055405bf81662f;hpb=2887f4ff1d32c8fbe7a90ac921823794264f7157;p=akkoma diff --git a/test/formatter_test.exs b/test/formatter_test.exs index e4da84c10..d5c74a321 100644 --- a/test/formatter_test.exs +++ b/test/formatter_test.exs @@ -4,6 +4,10 @@ defmodule Pleroma.FormatterTest do use Pleroma.DataCase 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