mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 15:26:03 +01:00
Use .distinct instead of .uniq.
git-svn-id: http://svn.redmine.org/redmine/trunk@15654 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -172,7 +172,7 @@ class IssuesTest < Redmine::IntegrationTest
|
||||
def test_issue_with_user_custom_field
|
||||
@field = IssueCustomField.create!(:name => 'Tester', :field_format => 'user', :is_for_all => true, :trackers => Tracker.all)
|
||||
Role.anonymous.add_permission! :add_issues, :edit_issues
|
||||
users = Project.find(1).users.uniq.sort
|
||||
users = Project.find(1).users.sort
|
||||
tester = users.first
|
||||
|
||||
# Issue form
|
||||
|
||||
Reference in New Issue
Block a user