From 3b407a9a295da3f6c2fc91982088f066f2c3c711 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Fri, 13 Dec 2019 22:47:39 +0300 Subject: [PATCH] remove a random test it's was already removed from develop in 4e535209172bb5460353fe011c06d127cfaa5847 --- test/user_search_test.exs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/user_search_test.exs b/test/user_search_test.exs index 6ee624929..cf2da8767 100644 --- a/test/user_search_test.exs +++ b/test/user_search_test.exs @@ -51,13 +51,6 @@ defmodule Pleroma.UserSearchTest do end) end - test "finds users, preferring nickname matches over name matches" do - u1 = insert(:user, %{name: "lain", nickname: "nick1"}) - u2 = insert(:user, %{nickname: "lain", name: "nick1"}) - - assert [u2.id, u1.id] == Enum.map(User.search("lain"), & &1.id) - end - test "finds users, considering density of matched tokens" do u1 = insert(:user, %{name: "Bar Bar plus Word Word"}) u2 = insert(:user, %{name: "Word Word Bar Bar Bar"})