From aa9e142765d922898436f07c9f934e8eaf160c01 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 23 Nov 2014 21:07:44 +0000 Subject: [PATCH] Fixed tests broken by r13646. git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/user_test.rb | 4 ++-- 1 file 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') -- 2.39.5