load Catalyst::Exception in Backend
Alexander Hartmaier [Fri, 11 Dec 2015 09:40:46 +0000 (10:40 +0100)]
because we use it there to throw exceptions and don't need to load it in each
test to workaround the omission

lib/Catalyst/Authentication/Store/LDAP/Backend.pm
t/02-realms_api.t
t/03-entry_class.t
t/04-user_class.t
t/05-user_attributes.t
t/10-roles-mock.t
t/50.auth.case.sensitivity.t

index b7eca84..4a2a797 100644 (file)
@@ -79,6 +79,7 @@ our $VERSION = '1.015';
 use Catalyst::Authentication::Store::LDAP::User;
 use Net::LDAP;
 use Catalyst::Utils ();
+use Catalyst::Exception;
 
 BEGIN {
     __PACKAGE__->mk_accessors(
index 3683373..5412ab6 100644 (file)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;
 use lib 't/lib';
index ebfce1f..3adc314 100644 (file)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;
 use lib 't/lib';
index 8689024..a5aadc4 100644 (file)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;
 use lib 't/lib';
index 54d79c9..19be676 100644 (file)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;
 use lib 't/lib';
index d7ec065..59dd8f6 100644 (file)
@@ -2,7 +2,6 @@
 
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;
 use Test::MockObject::Extends;
index c4d669d..8cbaba3 100644 (file)
@@ -2,7 +2,6 @@
 # vim: ts=8 sts=4 et sw=4 sr sta
 use strict;
 use warnings;
-use Catalyst::Exception;
 
 use Test::More;