SearchController Test: Fix test
authorlain <lain@soykaf.club>
Thu, 19 Nov 2020 15:53:26 +0000 (16:53 +0100)
committerlain <lain@soykaf.club>
Thu, 19 Nov 2020 15:53:26 +0000 (16:53 +0100)
test/pleroma/web/mastodon_api/controllers/search_controller_test.exs

index 04dc6f4458cf86156090b9c95f25d47e50ffc850..b77614b7c5554b253cff2529b04cfc3a77f5af93 100644 (file)
@@ -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), %{