X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=test%2Fuser_search_test.exs;h=cb847b516df2d1e36ac3deecae17aad620c3cf7a;hb=fc9d0b6eec1b206a27f4ec19f7939b3318a209ef;hp=fe52cc7a1e6059b2496208217c5fee065a8ba799;hpb=cf4ecffcea84d9b214f922a973d50c699317a202;p=akkoma
diff --git a/test/user_search_test.exs b/test/user_search_test.exs
index fe52cc7a1..cb847b516 100644
--- a/test/user_search_test.exs
+++ b/test/user_search_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2019 Pleroma Authors
+# Copyright © 2017-2020 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.UserSearchTest do
@@ -15,7 +15,7 @@ defmodule Pleroma.UserSearchTest 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"})