mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 01:11:12 +00:00
Fixed tests broken by r13646.
git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1316f6b491
commit
aa9e142765
@ -622,7 +622,7 @@ class UserTest < ActiveSupport::TestCase
|
||||
ldap_user.login = 'example1'
|
||||
ldap_user.save!
|
||||
|
||||
assert_equal @ldap_user, User.try_to_login('example1', '123456')
|
||||
assert_equal ldap_user, User.try_to_login('example1', '123456')
|
||||
assert_nil User.try_to_login('example1', '11111')
|
||||
end
|
||||
|
||||
@ -653,7 +653,7 @@ class UserTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
assert_no_difference('User.count') do
|
||||
assert User.try_to_login('edavis', '123456')
|
||||
assert User.try_to_login('example1', '123456')
|
||||
end
|
||||
|
||||
assert_nil User.try_to_login('example1', '11111')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user