1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix random test failure (#37674).

git-svn-id: https://svn.redmine.org/redmine/trunk@21835 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2022-09-24 04:54:54 +00:00
parent d9d4bb2cbf
commit 41df10cc4e

View File

@ -104,7 +104,7 @@ class UserQueryTest < ActiveSupport::TestCase
q = UserQuery.new name: '_'
q.add_filter('mail', op, [string])
users = find_users_with_query q
assert_equal result, users.map(&:id), "#{op} #{string} should have found #{result}"
assert_equal result, users.map(&:id).sort, "#{op} #{string} should have found #{result}"
end
end