From: William Pitcock <nenolod@dereferenced.org>
Date: Tue, 17 Jul 2018 03:37:40 +0000 (+0000)
Subject: test: mastodon attachments: update for added description field
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=18cac1e36bd91e1554de1f495a7f178b27b2fbc3;p=akkoma

test: mastodon attachments: update for added description field
---

diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index d28c3cbad..03c798bef 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -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})