summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-09-14 09:14:08 +0200
committerRoger Braun <roger@rogerbraun.net>2017-09-14 09:14:08 +0200
commita8701282d422b8108b4998de4a9bea6cebf199ea (patch)
tree9e1c17d0b923673a0cd10f063b253a3a4bca18d0 /test
parent6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc (diff)
downloadpleroma-a8701282d422b8108b4998de4a9bea6cebf199ea.tar.gz
pleroma-a8701282d422b8108b4998de4a9bea6cebf199ea.zip
MastoAPI: fake out 'application' property.
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/status_view_test.exs5
1 files changed, 4 insertions, 1 deletions
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
}