projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a11ca87
)
Fix my incorrect search test fix
author
rinpatch
<rinpatch@sdf.org>
Thu, 18 Apr 2019 11:37:57 +0000
(14:37 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Thu, 18 Apr 2019 11:37:57 +0000
(14:37 +0300)
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 245887ff8ec97da77245e66b10af547e82956af3..786af2088d202f59bb94e03bf19427f44d3791a3 100644
(file)
--- a/
test/web/mastodon_api/mastodon_api_controller_test.exs
+++ b/
test/web/mastodon_api/mastodon_api_controller_test.exs
@@
-1879,7
+1879,7
@@
defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
capture_log(fn ->
conn =
conn
- |> get("/api/v1/search", %{"q" => Object.normalize(activity).
id
})
+ |> get("/api/v1/search", %{"q" => Object.normalize(activity).
data["id"]
})
assert results = json_response(conn, 200)