projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credo fixes.
[akkoma]
/
test
/
user_search_test.exs
diff --git
a/test/user_search_test.exs
b/test/user_search_test.exs
index fe52cc7a1e6059b2496208217c5fee065a8ba799..cb847b516df2d1e36ac3deecae17aad620c3cf7a 100644
(file)
--- a/
test/user_search_test.exs
+++ b/
test/user_search_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
20
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.UserSearchTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.UserSearchTest do
@@
-15,7
+15,7
@@
defmodule Pleroma.UserSearchTest do
end
describe "User.search" do
end
describe "User.search" do
- clear_config([:instance, :limit_to_local_content])
+
setup do:
clear_config([:instance, :limit_to_local_content])
test "excluded invisible users from results" do
user = insert(:user, %{nickname: "john t1000"})
test "excluded invisible users from results" do
user = insert(:user, %{nickname: "john t1000"})