test: mastodon attachments: update for added description field

This commit is contained in:
William Pitcock 2018-07-17 03:37:40 +00:00
parent 489453c246
commit 18cac1e36b

View File

@ -102,7 +102,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
url: "someurl",
remote_url: "someurl",
preview_url: "someurl",
text_url: "someurl"
text_url: "someurl",
description: nil
}
assert expected == StatusView.render("attachment.json", %{attachment: object})