Commit 3dd9687d authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: unit tests broken by r3438 (#4860).

git-svn-id: svn+ssh:// e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4f268c56
......@@ -79,6 +79,9 @@ class ActiveSupport::TestCase
def self.ldap_configured?
@test_ldap = => '', :port => 389)
return @test_ldap.bind
rescue Exception => e
# LDAP is not listening
return nil
# Shoulda macros
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment