Merge branch 'bugfix/local-jsonld-context' into 'develop'
[akkoma] / test / support / httpoison_mock.ex
index 75c78d70eb9bab1df201ce6bd270e5942d22dee7..ab964334da72f67e07005e3993af9a7abacb7b59 100644 (file)
@@ -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{