Selaa lähdekoodia

Fixed tests broken by r13646.

git-svn-id: http://svn.redmine.org/redmine/trunk@13648 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.0.0
Jean-Philippe Lang 9 vuotta sitten
vanhempi
commit
aa9e142765
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2
    2
      test/unit/user_test.rb

+ 2
- 2
test/unit/user_test.rb Näytä tiedosto

@@ -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…
Peruuta
Tallenna