From 368e085144cc3bea501dc14a783f32cd696cb3af Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 11 Mar 2018 14:47:37 +0100 Subject: Don't validate on missing public key. --- test/support/httpoison_mock.ex | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/support') diff --git a/test/support/httpoison_mock.ex b/test/support/httpoison_mock.ex index ad9be9aef..a8b1a60c0 100644 --- a/test/support/httpoison_mock.ex +++ b/test/support/httpoison_mock.ex @@ -401,6 +401,13 @@ defmodule HTTPoisonMock do }} end + def get("https://mst3k.interlinked.me/users/luciferMysticus", ["Accept": "application/activity+json"], _) do + {:ok, %Response{ + status_code: 200, + body: File.read!("test/fixtures/httpoison_mock/lucifermysticus.json") + }} + end + def get("https://mstdn.io/users/mayuutann", ["Accept": "application/activity+json"], _) do {:ok, %Response{ status_code: 200, -- cgit v1.2.3