projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ed24bc
)
Mastodon Controller: Fix tests.
author
lain
<lain@soykaf.club>
Tue, 16 Jul 2019 05:01:18 +0000
(14:01 +0900)
committer
lain
<lain@soykaf.club>
Tue, 16 Jul 2019 05:01:18 +0000
(14:01 +0900)
test/web/mastodon_api/mastodon_api_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/mastodon_api/mastodon_api_controller_test.exs
b/test/web/mastodon_api/mastodon_api_controller_test.exs
index 6ffa64dc8bdf192c0d7956d545be79cb8d1f9a4d..f7c8ccde52826a53ea230cac93648f6f02408bb8 100644
(file)
--- 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