forked from AkkomaGang/akkoma
Mastodon Controller: Fix tests.
This commit is contained in:
parent
1ed24bcc76
commit
7a24def473
1 changed files with 1 additions and 1 deletions
|
@ -3503,7 +3503,7 @@ test "returns poll entity for object id", %{conn: conn} do
|
||||||
|> get("/api/v1/polls/#{object.id}")
|
|> get("/api/v1/polls/#{object.id}")
|
||||||
|
|
||||||
response = json_response(conn, 200)
|
response = json_response(conn, 200)
|
||||||
id = object.id
|
id = to_string(object.id)
|
||||||
assert %{"id" => ^id, "expired" => false, "multiple" => false} = response
|
assert %{"id" => ^id, "expired" => false, "multiple" => false} = response
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue