diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2019-08-28 07:10:35 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2019-08-28 07:10:35 +0000 |
commit | d9d7765383e358b2812233846226423cf9918ef4 (patch) | |
tree | 4e2e1a2ead59867a32c678e1b2c1f9397f240a0d /test/support | |
parent | 66519f2100c9933b74dc6df52937a18c42961639 (diff) | |
parent | c30cc039e423e8f31d0222747e301514b7d0dd9e (diff) | |
download | pleroma-d9d7765383e358b2812233846226423cf9918ef4.tar.gz |
Merge branch 'fix-osada-follow' into 'develop'
Transmogrifier: Fix follow handling when the actor is an object.
Closes #1211
See merge request pleroma/pleroma!1604
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/http_request_mock.ex | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex index 55b141dd8..05eebbe9b 100644 --- a/test/support/http_request_mock.ex +++ b/test/support/http_request_mock.ex @@ -775,6 +775,11 @@ defmodule HttpRequestMock do {:ok, %Tesla.Env{status: 200, body: File.read!("test/fixtures/lambadalambda.json")}} end + def get("https://apfed.club/channel/indio", _, _, _) do + {:ok, + %Tesla.Env{status: 200, body: File.read!("test/fixtures/tesla_mock/osada-user-indio.json")}} + end + def get("https://social.heldscal.la/user/23211", _, _, Accept: "application/activity+json") do {:ok, Tesla.Mock.json(%{"id" => "https://social.heldscal.la/user/23211"}, status: 200)} end |