Add safe dm mode option.
[akkoma] / test / web / mastodon_api / status_view_test.exs
index 3eec2cb5beea469e3508d874dee749f26397857c..ade0ca9f9e8a6c3683e8836ddf650aaf0dd4c382 100644 (file)
@@ -196,7 +196,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
       remote_url: "someurl",
       preview_url: "someurl",
       text_url: "someurl",
-      description: nil
+      description: nil,
+      pleroma: %{mime_type: "image/png"}
     }
 
     assert expected == StatusView.render("attachment.json", %{attachment: object})