mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user