diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-04 14:01:39 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-04 14:04:06 +0300 |
commit | a9e4a975866c33553c477667c431187590329447 (patch) | |
tree | 7e4c50f7c37d0343ebcb94860124f4fc908d0bb1 /test/formatter_test.exs | |
parent | 7ec64ac33f52d2f5072b56f2f8eb5e9ce498e00f (diff) | |
download | pleroma-a9e4a975866c33553c477667c431187590329447.tar.gz pleroma-a9e4a975866c33553c477667c431187590329447.zip |
update test
Diffstat (limited to 'test/formatter_test.exs')
-rw-r--r-- | test/formatter_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
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 |