mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
add new user format "lastname" (#10937)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10543 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -417,6 +417,9 @@ class UserTest < ActiveSupport::TestCase
|
||||
with_settings :user_format => :username do
|
||||
assert_equal 'jsmith', @jsmith.reload.name
|
||||
end
|
||||
with_settings :user_format => :lastname do
|
||||
assert_equal 'Smith', @jsmith.reload.name
|
||||
end
|
||||
end
|
||||
|
||||
def test_today_should_return_the_day_according_to_user_time_zone
|
||||
|
||||
Reference in New Issue
Block a user