diff options
author | lain <lain@soykaf.club> | 2020-11-19 16:53:26 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-19 16:53:26 +0100 |
commit | 783fa797bbe356611aa5d61e22e62b2b4bd6dbe6 (patch) | |
tree | 7c4968f1dd23de3d42318d37cbb1ef10b40c546d | |
parent | 81b6f02a5ee0dfd734f6cadf917161bdfd1b8195 (diff) | |
download | pleroma-783fa797bbe356611aa5d61e22e62b2b4bd6dbe6.tar.gz |
SearchController Test: Fix test
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/search_controller_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
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), %{ |