forked from YokaiRick/akkoma
tests: twitter api: activity view test: enable tesla mock
This commit is contained in:
parent
79b51a97fe
commit
873938d223
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue