Parent Directory | Revision Log
move LDAP stuff in own package
1 | #!/usr/bin/env perl |
2 | use warnings; |
3 | use strict; |
4 | |
5 | =head1 DESCRIPTION |
6 | |
7 | test LDAP module |
8 | |
9 | =cut |
10 | |
11 | use Jifty::Test tests => 5; |
12 | |
13 | use_ok('A3C::LDAP'); |
14 | |
15 | ok( |
16 | my $msg = A3C::LDAP->search( |
17 | base => 'dc=skole,dc=hr', |
18 | filter => '(objectClass=hrEduOrg)', |
19 | ) |
20 | ), 'search'; |
21 | |
22 | diag 'code: ', $msg->code, ' count: ', $msg->count; |
23 | |
24 | isa_ok( $msg, 'Net::LDAP::Search' ); |
25 | |
26 | is( $msg->code, 0, 'code' ); |
27 | |
28 | cmp_ok( $msg->count, '>', 1000, 'count' ); |
29 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |