tests: add a second spoofing variant
[akkoma] / test / support / httpoison_mock.ex
index 2ea10910e5c3a3d2c636061712d7a32fc2d08f5d..ebd1e9c4d3d9932ec200bd21c269d0b407fa1f91 100644 (file)
@@ -48,6 +48,14 @@ defmodule HTTPoisonMock do
      }}
   end
 
+  def get("https://info.pleroma.site/activity3.json", _, _) do
+    {:ok,
+     %Response{
+       status_code: 200,
+       body: File.read!("test/fixtures/httpoison_mock/https__info.pleroma.site_activity3.json")
+     }}
+  end
+
   def get("https://info.pleroma.site/actor.json", _, _) do
     {:ok,
      %Response{