mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-26 08:35:17 +01:00
Mastodon Controller: Fix tests.
This commit is contained in:
parent
1ed24bcc76
commit
7a24def473
@ -3503,7 +3503,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user