mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 13:55:52 +01:00
LdapError is deprecated (#24970).
git-svn-id: http://svn.redmine.org/redmine/trunk@16773 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -174,7 +174,7 @@ class AuthSourcesControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
def test_test_connection_with_failure
|
||||
AuthSourceLdap.any_instance.stubs(:initialize_ldap_con).raises(Net::LDAP::LdapError.new("Something went wrong"))
|
||||
AuthSourceLdap.any_instance.stubs(:initialize_ldap_con).raises(Net::LDAP::Error.new("Something went wrong"))
|
||||
|
||||
get :test_connection, :params => {
|
||||
:id => 1
|
||||
|
||||
Reference in New Issue
Block a user