test: mastodon attachments: update for added description field
authorWilliam Pitcock <nenolod@dereferenced.org>
Tue, 17 Jul 2018 03:37:40 +0000 (03:37 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Tue, 17 Jul 2018 03:40:48 +0000 (03:40 +0000)
test/web/mastodon_api/status_view_test.exs

index d28c3cbadcbe7b2b490349793acff355510ff3b4..03c798bef270b2d7aa46a1f20147b82b3b1c3660 100644 (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})