update test

This commit is contained in:
Maksim Pechnikov 2018-12-03 21:37:55 +03:00
commit 7ec64ac33f
6 changed files with 75 additions and 16 deletions

View file

@ -7,6 +7,12 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenterTest do
alias Pleroma.Web.OStatus
import Pleroma.Factory
import Tesla.Mock
setup do
mock(fn env -> apply(HttpRequestMock, :request, [env]) end)
:ok
end
test "an external note activity" do
incoming = File.read!("test/fixtures/mastodon-note-cw.xml")