diff options
author | lain <lain@soykaf.club> | 2018-12-05 21:27:56 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-12-05 21:27:56 +0100 |
commit | 76d6b1c6ab2813b1fb8f4473e4d722cc32fb2fed (patch) | |
tree | 5308f2d4c169085dfbe22a95a86c5271e4285ace /test/web/ostatus/activity_representer_test.exs | |
parent | 3ea4476445a5e9b6ec1625d7caa537f79254e9d0 (diff) | |
parent | 5f0c2372bc8be3763b649b13ee142c273583329e (diff) | |
download | pleroma-76d6b1c6ab2813b1fb8f4473e4d722cc32fb2fed.tar.gz pleroma-76d6b1c6ab2813b1fb8f4473e4d722cc32fb2fed.zip |
Merge remote-tracking branch 'origin' into follower-hiding
Diffstat (limited to 'test/web/ostatus/activity_representer_test.exs')
-rw-r--r-- | test/web/ostatus/activity_representer_test.exs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/web/ostatus/activity_representer_test.exs b/test/web/ostatus/activity_representer_test.exs index 8bf3bc775..a351510d8 100644 --- a/test/web/ostatus/activity_representer_test.exs +++ b/test/web/ostatus/activity_representer_test.exs @@ -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") |