Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
783fa797
Commit
783fa797
authored
Nov 19, 2020
by
lain
Browse files
SearchController Test: Fix test
parent
81b6f02a
Pipeline
#33049
failed with stages
in 11 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/pleroma/web/mastodon_api/controllers/search_controller_test.exs
View file @
783fa797
...
...
@@ -279,6 +279,8 @@ test "search", %{conn: conn} 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
),
%{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment