diff options
author | lain <lain@soykaf.club> | 2019-07-16 14:01:18 +0900 |
---|---|---|
committer | Ariadne Conill <ariadne@dereferenced.org> | 2019-07-28 22:33:17 +0000 |
commit | ed639376ac64c367e8b55b74cf1eb0d99b3f7259 (patch) | |
tree | 56f4afebe0be4154fea7be1f1de122991424ca78 | |
parent | 8123578bf818d6e28cabb27a0fe6fa888e3c9449 (diff) | |
download | pleroma-ed639376ac64c367e8b55b74cf1eb0d99b3f7259.tar.gz |
Mastodon Controller: Fix tests.
-rw-r--r-- | test/web/mastodon_api/mastodon_api_controller_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 03f57dbfa..152ba8137 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -3300,7 +3300,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do |> get("/api/v1/polls/#{object.id}") response = json_response(conn, 200) - id = object.id + id = to_string(object.id) assert %{"id" => ^id, "expired" => false, "multiple" => false} = response end |