diff options
author | Mark Felder <feld@feld.me> | 2021-02-18 16:35:03 -0600 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2021-02-18 16:35:03 -0600 |
commit | d5ef02c7a7905dc2053298045873b365d2411cde (patch) | |
tree | bdfa1206dab9eb0c349c8d78510e9232a658f130 /test | |
parent | fb2a8e7ccd6cfbfb9bc226998a083405fcebcbe0 (diff) | |
download | pleroma-d5ef02c7a7905dc2053298045873b365d2411cde.tar.gz |
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.exs | 5 |
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: [ %{ |