summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-08 13:46:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-08 13:46:47 +0000
commit2bc719e2c8deccaedc523ffa6ae2849321fc5cc3 (patch)
tree16d765af721c77e8634973b68cfcbc6dbe97bc0e /test/functional
parent21e00bfdbf31e18d957127f64f62a841dab84925 (diff)
downloadredmine-2bc719e2c8deccaedc523ffa6ae2849321fc5cc3.tar.gz
redmine-2bc719e2c8deccaedc523ffa6ae2849321fc5cc3.zip
LdapError is deprecated (#24970).
git-svn-id: http://svn.redmine.org/redmine/trunk@16773 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/auth_sources_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/auth_sources_controller_test.rb b/test/functional/auth_sources_controller_test.rb
index 18d5f05cd..e6bfcf54c 100644
--- a/test/functional/auth_sources_controller_test.rb
+++ b/test/functional/auth_sources_controller_test.rb
@@ -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