summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-03-15 09:48:50 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-03-15 09:48:50 +0000
commit41fc67aa4993c119dae82578df7309d3999ac47a (patch)
tree8cf2d751d22f07b0dd0ec9e10419b626ec97490c /test
parent0f42ea87d6bcb55d14a29c0ac4e600764359f30c (diff)
parentd7a34b604b15f9e7f73cda834f513d6f62643005 (diff)
downloadpleroma-41fc67aa4993c119dae82578df7309d3999ac47a.tar.gz
pleroma-41fc67aa4993c119dae82578df7309d3999ac47a.zip
Merge branch 'mastoapi/mime_type' into 'develop'
Extend MastoAPI to provide attachment mimetypes See merge request pleroma/pleroma!938
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})