aboutsummaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-11-10 11:06:29 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-11-10 11:11:01 +0000
commit1d9fcbf2ba77030dd82b32b2666ddae59649661b (patch)
treec8f24a6e68750e48305173f51c050378f27d0487 /test/support
parentc5f26f3ce2ef84a424a59498cc2d5e4ca9e1b525 (diff)
downloadpleroma-1d9fcbf2ba77030dd82b32b2666ddae59649661b.tar.gz
add missing prismo testcase data
Diffstat (limited to 'test/support')
-rw-r--r--test/support/httpoison_mock.ex8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/support/httpoison_mock.ex b/test/support/httpoison_mock.ex
index 75c78d70e..ab964334d 100644
--- a/test/support/httpoison_mock.ex
+++ b/test/support/httpoison_mock.ex
@@ -3,6 +3,14 @@ defmodule HTTPoisonMock do
def get(url, body \\ [], headers \\ [])
+ def get("https://prismo.news/@mxb", _, _) do
+ {:ok,
+ %Response{
+ status_code: 200,
+ body: File.read!("test/fixtures/httpoison_mock/https___prismo.news__mxb.json")
+ }}
+ end
+
def get("https://osada.macgirvin.com/channel/mike", _, _) do
{:ok,
%Response{