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
1 changed files with 7 additions and 0 deletions

View File

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