diff options
author | lain <lain@soykaf.club> | 2019-07-16 12:47:40 +0900 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-07-28 22:33:09 +0000 |
commit | 8123578bf818d6e28cabb27a0fe6fa888e3c9449 (patch) | |
tree | 2f5f12462147512e6677afe6b8f98e1d8cbdacc4 /test | |
parent | 5cb37412a21420509f61027fe486ae66242f800a (diff) | |
download | pleroma-8123578bf818d6e28cabb27a0fe6fa888e3c9449.tar.gz |
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.exs | 2 |
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 ec75150ab..0d8eefeb8 100644 --- a/test/web/mastodon_api/status_view_test.exs +++ b/test/web/mastodon_api/status_view_test.exs @@ -361,7 +361,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}, |