mirror of
https://github.com/redmine/redmine.git
synced 2026-05-06 11:47:12 +02:00
Sort users by their display names so that user dropdown lists are sorted alphabetically (#2015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2010 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -85,9 +85,9 @@ class UserTest < Test::Unit::TestCase
|
||||
def test_name_format
|
||||
assert_equal 'Smith, John', @jsmith.name(:lastname_coma_firstname)
|
||||
Setting.user_format = :firstname_lastname
|
||||
assert_equal 'John Smith', @jsmith.name
|
||||
assert_equal 'John Smith', @jsmith.reload.name
|
||||
Setting.user_format = :username
|
||||
assert_equal 'jsmith', @jsmith.name
|
||||
assert_equal 'jsmith', @jsmith.reload.name
|
||||
end
|
||||
|
||||
def test_lock
|
||||
|
||||
Reference in New Issue
Block a user