Update LDAP auth credentials, use built-in LDAP clean-up, fix broken tests.

This commit is contained in:
Colin Kuskie 2010-02-09 18:20:49 -08:00
parent 80a7f7bd53
commit 8563340eff
3 changed files with 10 additions and 25 deletions

View file

@ -60,7 +60,8 @@ plan tests => 9; # Increment this number for each test you create
cmp_deeply $ldap->get(), superhashof($ldapProps), 'all db properties retrieved';
my $connection = $ldap->bind();
isa_ok $connection, 'Net::LDAP', 'returned by bind';
is $ldap->{'_error'}, undef, 'no errors from binding'
is $ldap->getErrorCode, undef, 'no errors from binding';
}
###########################################################################