From: lain Date: Tue, 16 Jul 2019 05:01:18 +0000 (+0900) Subject: Mastodon Controller: Fix tests. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7a24def4731cf773970c87b340d99d4ec3cd8906;p=akkoma Mastodon Controller: Fix tests. --- diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 6ffa64dc8..f7c8ccde5 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -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