summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-02-18 16:35:03 -0600
committerMark Felder <feld@feld.me>2021-02-18 16:35:03 -0600
commitd5ef02c7a7905dc2053298045873b365d2411cde (patch)
treebdfa1206dab9eb0c349c8d78510e9232a658f130 /test
parentfb2a8e7ccd6cfbfb9bc226998a083405fcebcbe0 (diff)
Mastodon makes this field null when posting with MastoFE or if you choose to not disclose it, so it's safe to be null by default
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/views/status_view_test.exs5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/pleroma/web/mastodon_api/views/status_view_test.exs b/test/pleroma/web/mastodon_api/views/status_view_test.exs
index ed59cf285..2de3afc4f 100644
--- a/test/pleroma/web/mastodon_api/views/status_view_test.exs
+++ b/test/pleroma/web/mastodon_api/views/status_view_test.exs
@@ -266,10 +266,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
url: "http://localhost:4001/tag/#{object_data["tag"]}"
}
],
- application: %{
- name: "Web",
- website: nil
- },
+ application: nil,
language: nil,
emojis: [
%{