/[virtual-ldap]/t/ldap-koha.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /t/ldap-koha.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 89 by dpavlin, Thu May 6 06:22:09 2010 UTC revision 103 by dpavlin, Fri May 20 12:00:45 2011 UTC
# Line 21  sub ldap_check_error { Line 21  sub ldap_check_error {
21          diag $o->error if $o->code;          diag $o->error if $o->code;
22  }  }
23    
24  ok( my $ldap = Net::LDAP->new( 'localhost:2389' ), 'new Net::LDAP' );  ok( my $ldap = Net::LDAP->new( $ENV{LISTEN} || 'localhost:2389' ), 'new Net::LDAP' );
25    
26  ok( my $bind = $ldap->bind, 'bind' );  ok( my $bind = $ldap->bind, 'bind' );
27  ldap_check_error $bind;  ldap_check_error $bind;

Legend:
Removed from v.89  
changed lines
  Added in v.103

  ViewVC Help
Powered by ViewVC 1.1.26