aboutsummaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-09-14 08:38:48 +0200
committerRoger Braun <roger@rogerbraun.net>2017-09-14 08:38:48 +0200
commit6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc (patch)
tree5c8da7a4624ec60b4b08e0e4995f64ac3125e51f /test/web/mastodon_api
parent7f3ce5c1a0ea9e7ea960b06ca5f40f4cee4b9715 (diff)
downloadpleroma-6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc.tar.gz
MastoAPI: Also return text_url in attachments.
Diffstat (limited to 'test/web/mastodon_api')
-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 9fa95234b..3941e3019 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -71,7 +71,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
type: "image",
url: "someurl",
remote_url: "someurl",
- preview_url: "someurl"
+ preview_url: "someurl",
+ text_url: "someurl"
}
assert expected == StatusView.render("attachment.json", %{attachment: object})