summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-11-04 10:14:00 +0100
committerlain <lain@soykaf.club>2020-11-04 10:14:00 +0100
commit1cfc3278c086c9eaa7b2d1bd170e82c8b2aebd78 (patch)
treedfd26f5f74ca9a219b95f077053fa639435287a2 /test
parentba3f3a5a56d4a5ac05443fd30b5864778ad1131e (diff)
downloadpleroma-1cfc3278c086c9eaa7b2d1bd170e82c8b2aebd78.tar.gz
pleroma-1cfc3278c086c9eaa7b2d1bd170e82c8b2aebd78.zip
Poll View: Always return `voters_count`.
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/views/poll_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/views/poll_view_test.exs b/test/pleroma/web/mastodon_api/views/poll_view_test.exs
index b7e2f17ef..c655ca438 100644
--- a/test/pleroma/web/mastodon_api/views/poll_view_test.exs
+++ b/test/pleroma/web/mastodon_api/views/poll_view_test.exs
@@ -44,7 +44,7 @@ defmodule Pleroma.Web.MastodonAPI.PollViewTest do
],
voted: false,
votes_count: 0,
- voters_count: nil
+ voters_count: 0
}
result = PollView.render("show.json", %{object: object})