diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-23 21:07:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-23 21:07:44 +0000 |
commit | aa9e142765d922898436f07c9f934e8eaf160c01 (patch) | |
tree | 558270f07cb80acd70860cfd9be2c81a2956194a /test/unit/user_test.rb | |
parent | 1316f6b49199b3ba113ae323153561a63d178c27 (diff) | |
download | redmine-aa9e142765d922898436f07c9f934e8eaf160c01.tar.gz redmine-aa9e142765d922898436f07c9f934e8eaf160c01.zip |
Fixed tests broken by r13646.
git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r-- | test/unit/user_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 115868594..2da4b8fb6 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -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') |