aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-04-18 14:37:57 +0300
committerrinpatch <rinpatch@sdf.org>2019-04-18 14:37:57 +0300
commit4ef237f26a41652014105b8a7ad3a9d5c7b41202 (patch)
treece0f443088771eaf25a9a657e020749ff646b9cc
parenta11ca87f40fd85341afa4445d3b7303ae8e92b76 (diff)
downloadpleroma-4ef237f26a41652014105b8a7ad3a9d5c7b41202.tar.gz
Fix my incorrect search test fix
-rw-r--r--test/web/mastodon_api/mastodon_api_controller_test.exs2
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 245887ff8..786af2088 100644
--- 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)