Use skip_all and done_testing in all tests
[catagits/Catalyst-Authentication-Store-LDAP.git] / t / 02-realms_api.t
index 1cad31b..3d26b93 100644 (file)
@@ -4,7 +4,7 @@ use strict;
 use warnings;
 use Catalyst::Exception;
 
-use Test::More tests => 5;
+use Test::More;
 use lib 't/lib';
 use LDAPTest;
 my $server = LDAPTest::spawn_server();
@@ -35,3 +35,4 @@ isa_ok( $user, "Catalyst::Authentication::Store::LDAP::User" );
 my $displayname = $user->displayname;
 cmp_ok( $displayname, 'eq', 'Some Body', 'Should be Some Body' );
 
+done_testing;