diff options
author | lain <lain@soykaf.club> | 2019-07-16 14:01:18 +0900 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-07-16 14:01:18 +0900 |
commit | 7a24def4731cf773970c87b340d99d4ec3cd8906 (patch) | |
tree | c403252e15d732269a2f301f5d40ed98da8b5454 | |
parent | 1ed24bcc76d27b3e00671e377a062e233376a017 (diff) | |
download | pleroma-7a24def4731cf773970c87b340d99d4ec3cd8906.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 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 |