Merge branch 'fix/mediaproxy-whitelist-base_url' into 'develop'
[akkoma] / test / support / http_request_mock.ex
index bdfe43b28e6ac28b7a55c6bfa1c7dca92264d9c3..3adb5ba3baa081df7cc4721e0d0cf95893a555e8 100644 (file)
@@ -51,6 +51,10 @@ defmodule HttpRequestMock do
      }}
   end
 
+  def get("https://mastodon.social/users/not_found", _, _, _) do
+    {:ok, %Tesla.Env{status: 404}}
+  end
+
   def get("https://mastodon.sdf.org/users/rinpatch", _, _, _) do
     {:ok,
      %Tesla.Env{