Commit 783fa797 authored by lain's avatar lain
Browse files

SearchController Test: Fix test

parent 81b6f02a
Pipeline #33049 failed with stages
in 11 minutes and 5 seconds
...@@ -279,6 +279,8 @@ test "search", %{conn: conn} do ...@@ -279,6 +279,8 @@ test "search", %{conn: conn} do
end end
test "search fetches remote statuses and prefers them over other results", %{conn: conn} do test "search fetches remote statuses and prefers them over other results", %{conn: conn} do
clear_config([:instance, :search_function], :plain)
capture_log(fn -> capture_log(fn ->
{:ok, %{id: activity_id}} = {:ok, %{id: activity_id}} =
CommonAPI.post(insert(:user), %{ CommonAPI.post(insert(:user), %{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment