Version 1.017
[catagits/Catalyst-Authentication-Store-LDAP.git] / t / 04-user_class.t
index 8689024..7354534 100644 (file)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;
 use lib 't/lib';
@@ -10,9 +9,6 @@ use LDAPTest;
 use Storable qw/ freeze /;
 use Test::Exception;
 
-eval "use Catalyst::Model::LDAP";
-plan skip_all => "Catalyst::Model::LDAP not installed" if $@;
-
 my $server = LDAPTest::spawn_server();
 
 use_ok("Catalyst::Authentication::Store::LDAP::Backend");
@@ -39,7 +35,6 @@ isa_ok( $user, "UserClass");
 is( $user->my_method, 'frobnitz', "methods on user class work" );
 
 # RT 69615
-diag("stop() server");
 $server->stop();
 
 $server = LDAPTest::spawn_server();
@@ -50,7 +45,6 @@ lives_ok { $frozen_user = freeze $user } 'Can freeze user with Storable';
 ok $frozen_user, 'is frozen';
 
 # RT 69615
-diag("stop() server");
 $server->stop();
 
 done_testing;