Copy emoji in the subject from parent post
[akkoma] / test / support / http_request_mock.ex
index 1e98020f0106b048cec226fdfdf47427c774c3c7..eb692fab5d1366e707578496b819bb305e3e1c8e 100644 (file)
@@ -1278,6 +1278,15 @@ defmodule HttpRequestMock do
      }}
   end
 
+  def get("https://patch.cx/objects/a399c28e-c821-4820-bc3e-4afeb044c16f", _, _, _) do
+    {:ok,
+     %Tesla.Env{
+       status: 200,
+       body: File.read!("test/fixtures/tesla_mock/emoji-in-summary.json"),
+       headers: activitypub_object_headers()
+     }}
+  end
+
   def get(url, query, body, headers) do
     {:error,
      "Mock response not implemented for GET #{inspect(url)}, #{query}, #{inspect(body)}, #{