X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=t%2Fldap-koha.t;h=2825ad4c0396049c9bc1cc9a5916a814c820a1ac;hp=cc8191a1d6a38e943c2f1d36949a84f4a37e24e4;hb=9d36c5db63043dde1160fae994845f2913f42ac7;hpb=3464ee7fc8e4e77dffc41e054b6a44430486924d diff --git a/t/ldap-koha.t b/t/ldap-koha.t index cc8191a..2825ad4 100755 --- a/t/ldap-koha.t +++ b/t/ldap-koha.t @@ -21,7 +21,7 @@ sub ldap_check_error { diag $o->error if $o->code; } -ok( my $ldap = Net::LDAP->new( 'localhost:2389' ), 'new Net::LDAP' ); +ok( my $ldap = Net::LDAP->new( $ENV{LISTEN} || 'localhost:2389' ), 'new Net::LDAP' ); ok( my $bind = $ldap->bind, 'bind' ); ldap_check_error $bind;