--- t/10-ldap.t 2008/03/31 21:11:45 47 +++ t/10-ldap.t 2008/04/01 17:32:59 53 @@ -8,7 +8,7 @@ =cut -use Jifty::Test tests => 25; +use Jifty::Test tests => 27; use_ok('A3C::LDAP'); @@ -38,3 +38,6 @@ isa_ok( $collection, 'A3C::Model::OrganizationCollection' ); is( $collection->count, $limit, 'count' ); } + +ok( my $coll = $ldap->collection('User', filter => '(HrEduPersonHomeOrg=aa-test-zz)'), 'collection with filter' ); +is( $coll->count, 0, 'no results' );