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:
parent
d9d4bb2cbf
commit
41df10cc4e
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user