mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-31 11:37:14 +00:00
Fix that test_link_to_principal_should_link_to_user does not actually test anything (#12795).
git-svn-id: http://svn.redmine.org/redmine/trunk@21203 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b0416adcda
commit
4aef1bf491
@ -1712,7 +1712,8 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
|
||||
def test_link_to_principal_should_link_to_user
|
||||
user = User.find(2)
|
||||
assert_equal link_to_user(user), link_to_principal(user)
|
||||
result = link_to('John Smith', '/users/2', :class => 'user active')
|
||||
assert_equal result, link_to_principal(user)
|
||||
end
|
||||
|
||||
def test_link_to_principal_should_link_to_group
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user