diff options
author | lain <lain@soykaf.club> | 2019-08-26 14:34:52 -0500 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-08-26 14:34:52 -0500 |
commit | 3da65292b389c1f1edeff03fd5097579721fb681 (patch) | |
tree | 39e8ef61a224af77b3248c3a44d3502734ebc962 /test/support/http_request_mock.ex | |
parent | 3da278375d43de635f8cb45ee1b147765ebb688c (diff) | |
download | pleroma-3da65292b389c1f1edeff03fd5097579721fb681.tar.gz pleroma-3da65292b389c1f1edeff03fd5097579721fb681.zip |
Transmogrifier: Fix follow handling when the actor is an object.
Diffstat (limited to 'test/support/http_request_mock.ex')
-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 |