summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-03-15 11:58:12 +0300
committerrinpatch <rinpatch@sdf.org>2019-03-15 11:58:12 +0300
commitd7a34b604b15f9e7f73cda834f513d6f62643005 (patch)
treee41a0f929b4ae4a741fd8d43f81f11768bfbb101 /test
parent7ecc201029a8c90cf5dc3313ff78d56eb0a2445c (diff)
downloadpleroma-d7a34b604b15f9e7f73cda834f513d6f62643005.tar.gz
pleroma-d7a34b604b15f9e7f73cda834f513d6f62643005.zip
Extend MastoAPI to provide attachment mimetypes
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/status_view_test.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index 3eec2cb5b..ade0ca9f9 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -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})