From: Graham Knop Date: Sun, 26 Jul 2020 21:43:05 +0000 (+0200) Subject: only import Test::Exception where it is needed X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0640db984b9d844aa488c15753fb103d9cf372fd;p=catagits%2FCatalyst-Plugin-Authentication.git only import Test::Exception where it is needed --- diff --git a/t/lib/AuthRealmTestApp.pm b/t/lib/AuthRealmTestApp.pm index dfc47c0..bf83288 100644 --- a/t/lib/AuthRealmTestApp.pm +++ b/t/lib/AuthRealmTestApp.pm @@ -8,7 +8,6 @@ use Catalyst qw/ /; use Test::More; -use Test::Exception; our $members = { bob => { diff --git a/t/lib/AuthRealmTestApp/Controller/Root.pm b/t/lib/AuthRealmTestApp/Controller/Root.pm index 290d6cc..7406db0 100644 --- a/t/lib/AuthRealmTestApp/Controller/Root.pm +++ b/t/lib/AuthRealmTestApp/Controller/Root.pm @@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/; __PACKAGE__->config(namespace => ''); use Test::More; -use Test::Exception; sub moose : Local { my ( $self, $c ) = @_; diff --git a/t/lib/AuthRealmTestAppCompat/Controller/Root.pm b/t/lib/AuthRealmTestAppCompat/Controller/Root.pm index 8aa6415..e830203 100644 --- a/t/lib/AuthRealmTestAppCompat/Controller/Root.pm +++ b/t/lib/AuthRealmTestAppCompat/Controller/Root.pm @@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/; __PACKAGE__->config( namespace => '' ); use Test::More; -use Test::Exception; sub moose : Local { my ( $self, $c ) = @_; diff --git a/t/lib/AuthRealmTestAppProgressive/Controller/Root.pm b/t/lib/AuthRealmTestAppProgressive/Controller/Root.pm index 8e48623..e47ca99 100644 --- a/t/lib/AuthRealmTestAppProgressive/Controller/Root.pm +++ b/t/lib/AuthRealmTestAppProgressive/Controller/Root.pm @@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/; __PACKAGE__->config(namespace => ''); use Test::More; -use Test::Exception; sub progressive : Local { my ( $self, $c ) = @_; diff --git a/t/lib/AuthSessionTestApp/Controller/Root.pm b/t/lib/AuthSessionTestApp/Controller/Root.pm index e9494d4..116dd25 100644 --- a/t/lib/AuthSessionTestApp/Controller/Root.pm +++ b/t/lib/AuthSessionTestApp/Controller/Root.pm @@ -6,7 +6,6 @@ use base qw/Catalyst::Controller/; __PACKAGE__->config(namespace => ''); use Test::More; -use Test::Exception; use Digest::MD5 qw/md5/;