summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/status_view_test.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-05-18 13:29:28 +0300
committerrinpatch <rinpatch@sdf.org>2019-05-18 13:29:28 +0300
commitfd920c897339b9cedea042dd6698d14380cedae7 (patch)
treeda77fda315d2a8ae4bff3358aec60f776cf63253 /test/web/mastodon_api/status_view_test.exs
parent642a67dd4492f31b5b9fe457e34c1589c9d70c3f (diff)
downloadpleroma-fd920c897339b9cedea042dd6698d14380cedae7.tar.gz
pleroma-fd920c897339b9cedea042dd6698d14380cedae7.zip
Mastodon API: Add support for posting polls
Diffstat (limited to 'test/web/mastodon_api/status_view_test.exs')
-rw-r--r--test/web/mastodon_api/status_view_test.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index d7c800e83..9f2ebda4e 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -103,6 +103,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
muted: false,
pinned: false,
sensitive: false,
+ poll: nil,
spoiler_text: HtmlSanitizeEx.basic_html(note.data["object"]["summary"]),
visibility: "public",
media_attachments: [],