From a8701282d422b8108b4998de4a9bea6cebf199ea Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 14 Sep 2017 09:14:08 +0200 Subject: MastoAPI: fake out 'application' property. --- test/web/mastodon_api/status_view_test.exs | 5 ++++- 1 file changed, 4 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 3941e3019..870a205f1 100644 --- a/test/web/mastodon_api/status_view_test.exs +++ b/test/web/mastodon_api/status_view_test.exs @@ -36,7 +36,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do media_attachments: [], mentions: [], tags: [], - application: nil, + application: %{ + name: "Web", + website: nil + }, language: nil } -- cgit v1.2.3