update test

This commit is contained in:
Maksim Pechnikov 2018-12-04 14:01:39 +03:00
commit a9e4a97586
7 changed files with 83 additions and 11 deletions

View file

@ -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