tests: twitter api: activity view test: enable tesla mock

This commit is contained in:
William Pitcock 2018-12-23 13:55:08 +00:00
parent 79b51a97fe
commit 873938d223

View File

@ -12,6 +12,13 @@ defmodule Pleroma.Web.TwitterAPI.ActivityViewTest do
alias Pleroma.Web.ActivityPub.ActivityPub
import Pleroma.Factory
import Tesla.Mock
setup do
mock(fn env -> apply(HttpRequestMock, :request, [env]) end)
:ok
end
import Mock
test "a create activity with a html status" do