From 6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 14 Sep 2017 08:38:48 +0200 Subject: MastoAPI: Also return text_url in attachments. --- test/web/mastodon_api/status_view_test.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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}) -- cgit v1.2.3