projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b6f02
)
SearchController Test: Fix test
author
lain
<lain@soykaf.club>
Thu, 19 Nov 2020 15:53:26 +0000
(16:53 +0100)
committer
lain
<lain@soykaf.club>
Thu, 19 Nov 2020 15:53:26 +0000
(16:53 +0100)
test/pleroma/web/mastodon_api/controllers/search_controller_test.exs
patch
|
blob
|
history
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 04dc6f4458cf86156090b9c95f25d47e50ffc850..b77614b7c5554b253cff2529b04cfc3a77f5af93 100644
(file)
--- 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), %{