From: lain Date: Thu, 19 Nov 2020 15:53:26 +0000 (+0100) Subject: SearchController Test: Fix test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=783fa797bbe356611aa5d61e22e62b2b4bd6dbe6;p=akkoma SearchController Test: Fix test --- diff --git a/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs index 04dc6f445..b77614b7c 100644 --- a/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/search_controller_test.exs @@ -279,6 +279,8 @@ defmodule Pleroma.Web.MastodonAPI.SearchControllerTest do end test "search fetches remote statuses and prefers them over other results", %{conn: conn} do + clear_config([:instance, :search_function], :plain) + capture_log(fn -> {:ok, %{id: activity_id}} = CommonAPI.post(insert(:user), %{