summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-07-16 12:47:40 +0900
committerlain <lain@soykaf.club>2019-07-16 12:47:40 +0900
commit1ed24bcc76d27b3e00671e377a062e233376a017 (patch)
tree18f8273b638282cdf17702b1cb9d9503351acc90 /test
parent46ef8f021635c630bcd6973e6fbb7c58bcafb6bf (diff)
downloadpleroma-1ed24bcc76d27b3e00671e377a062e233376a017.tar.gz
pleroma-1ed24bcc76d27b3e00671e377a062e233376a017.zip
Status View: Poll ids are strings.
All ids in mastodon are strings, in general.
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/status_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index ac42819d8..6507e9864 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -423,7 +423,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
expected = %{
emojis: [],
expired: false,
- id: object.id,
+ id: to_string(object.id),
multiple: false,
options: [
%{title: "absolutely!", votes_count: 0},