only import Test::Exception where it is needed
Graham Knop [Sun, 26 Jul 2020 21:43:05 +0000 (23:43 +0200)]
t/lib/AuthRealmTestApp.pm
t/lib/AuthRealmTestApp/Controller/Root.pm
t/lib/AuthRealmTestAppCompat/Controller/Root.pm
t/lib/AuthRealmTestAppProgressive/Controller/Root.pm
t/lib/AuthSessionTestApp/Controller/Root.pm

index dfc47c0..bf83288 100644 (file)
@@ -8,7 +8,6 @@ use Catalyst qw/
 /;
 
 use Test::More;
-use Test::Exception;
 
 our $members = {
     bob => {
index 290d6cc..7406db0 100644 (file)
@@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/;
 __PACKAGE__->config(namespace => '');
 
 use Test::More;
-use Test::Exception;
 
 sub moose : Local {
     my ( $self, $c ) = @_;
index 8aa6415..e830203 100644 (file)
@@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/;
 __PACKAGE__->config( namespace => '' );
 
 use Test::More;
-use Test::Exception;
 
 sub moose : Local {
     my ( $self, $c ) = @_;
index 8e48623..e47ca99 100644 (file)
@@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/;
 __PACKAGE__->config(namespace => '');
 
 use Test::More;
-use Test::Exception;
 
 sub progressive : Local {
     my ( $self, $c ) = @_;
index e9494d4..116dd25 100644 (file)
@@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/;
 __PACKAGE__->config(namespace => '');
 
 use Test::More;
-use Test::Exception;
 
 use Digest::MD5 qw/md5/;