/[A3C]/t/10-ldap.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/10-ldap.t

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

revision 47 by dpavlin, Mon Mar 31 21:11:45 2008 UTC revision 84 by dpavlin, Sat Apr 12 10:33:35 2008 UTC
# Line 8  test LDAP module Line 8  test LDAP module
8    
9  =cut  =cut
10    
11  use Jifty::Test tests => 25;  use Jifty::Test tests => 27;
12    
13  use_ok('A3C::LDAP');  use_ok('A3C::LDAP');
14    
# Line 38  foreach my $limit ( 3, 7, 14 ) { Line 38  foreach my $limit ( 3, 7, 14 ) {
38          isa_ok( $collection, 'A3C::Model::OrganizationCollection' );          isa_ok( $collection, 'A3C::Model::OrganizationCollection' );
39          is( $collection->count, $limit, 'count' );          is( $collection->count, $limit, 'count' );
40  }  }
41    
42    ok( my $coll = $ldap->collection('Person', filter => '(HrEduPersonHomeOrg=aa-test-zz)'), 'collection with filter' );
43    is( $coll->count, 0, 'no results' );

Legend:
Removed from v.47  
changed lines
  Added in v.84

  ViewVC Help
Powered by ViewVC 1.1.26