tests: add test for hubzilla follow activity too

This commit is contained in:
William Pitcock 2018-05-19 08:25:45 +00:00
commit 4033ed6714
4 changed files with 58 additions and 0 deletions

View file

@ -628,6 +628,14 @@ defmodule HTTPoisonMock do
}}
end
def get("https://hubzilla.example.org/channel/kaniini", [Accept: "application/activity+json"], _) do
{:ok,
%Response{
status_code: 200,
body: File.read!("test/fixtures/httpoison_mock/kaniini@hubzilla.example.org.json")
}}
end
def get("https://masto.quad.moe/users/_HellPie", [Accept: "application/activity+json"], _) do
{:ok,
%Response{