Actions
Defect #4860
closedBroken unit tests (LDAP)
Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
2010-02-17
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Eric, you recent LDAP refactoring broke unit tests.
/home/aleksi/MyCode/redmine-github/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1021:in `initialize': no connection to server (Net::LDAP::LdapError) from /home/aleksi/MyCode/redmine-github/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:700:in `new' from /home/aleksi/MyCode/redmine-github/vendor/plugins/ruby-net-ldap-0.0.4/lib/net/ldap.rb:700:in `bind' from ./test/unit/lib/../../test_helper.rb:81:in `ldap_configured?' from ./test/unit/auth_source_ldap_test.rb:37 from /home/aleksi/.rvm/gems/ruby-1.8.7-p160/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load_without_new_constant_marking' from /home/aleksi/.rvm/gems/ruby-1.8.7-p160/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load' from /home/aleksi/.rvm/gems/ruby-1.8.7-p160/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5 from /home/aleksi/.rvm/gems/ruby-1.8.7-p160/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each' from /home/aleksi/.rvm/gems/ruby-1.8.7-p160/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
Updated by Jean-Philippe Lang almost 15 years ago
- Status changed from New to Closed
- Assignee deleted (
Eric Davis) - Resolution set to Fixed
Fixed in r3442.
Updated by Eric Davis almost 15 years ago
Thanks for catching that, I had the same "rescue" in another branch but forget to port it over.
Actions