From: rinpatch Date: Thu, 18 Apr 2019 11:37:57 +0000 (+0300) Subject: Fix my incorrect search test fix X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4ef237f26a41652014105b8a7ad3a9d5c7b41202;p=akkoma Fix my incorrect search test fix --- 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)