diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-02-02 03:01:19 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2017-02-02 03:01:19 +0000 |
commit | 5a86f95d290a35274ca944c160e44d56b3a3430c (patch) | |
tree | 115111b3cf9ca7061242b995da49821f478f14b6 /test/unit/user_test.rb | |
parent | d37125dfe98b295cb8dd15d7c12ed2c97a122e8d (diff) | |
download | redmine-5a86f95d290a35274ca944c160e44d56b3a3430c.tar.gz redmine-5a86f95d290a35274ca944c160e44d56b3a3430c.zip |
revert r16322 (#24970)
Some tests fail.
git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r-- | test/unit/user_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 3b42a7dec..ebc7d6532 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -643,7 +643,7 @@ class UserTest < ActiveSupport::TestCase if ldap_configured? test "#try_to_login using LDAP with failed connection to the LDAP server" do auth_source = AuthSourceLdap.find(1) - AuthSource.any_instance.stubs(:initialize_ldap_con).raises(Net::LDAP::Error, 'Cannot connect') + AuthSource.any_instance.stubs(:initialize_ldap_con).raises(Net::LDAP::LdapError, 'Cannot connect') assert_nil User.try_to_login('edavis', 'wrong') end |