Mastodon Controller: Fix tests.

This commit is contained in:
lain 2019-07-16 14:01:18 +09:00 committed by Ariadne Conill
parent 8123578bf8
commit ed639376ac

View file

@ -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