[Catalyst-commits] r6852 - in trunk/Catalyst-Plugin-Authentication-Store-DBIC: . t

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Thu Sep 6 16:38:18 GMT 2007


Author: bricas
Date: 2007-09-06 16:38:18 +0100 (Thu, 06 Sep 2007)
New Revision: 6852

Modified:
   trunk/Catalyst-Plugin-Authentication-Store-DBIC/Makefile.PL
   trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/06auth-hashed.t
Log:
skip 06auth-hashed.t unless Digest::SHA1 is installed (RT #29090). Added Class::Accessor::Fast to prereq (RT #22424)

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIC/Makefile.PL
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIC/Makefile.PL	2007-09-06 14:56:14 UTC (rev 6851)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIC/Makefile.PL	2007-09-06 15:38:18 UTC (rev 6852)
@@ -6,6 +6,7 @@
 requires 'Catalyst::Runtime';
 requires 'Catalyst::Plugin::Authentication' => '0.06';
 requires 'Set::Object' => '1.14';
+requires 'Class::Accessor::Fast';
 requires 'DBI';
 
 feature 'Roles support',

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/06auth-hashed.t
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/06auth-hashed.t	2007-09-06 14:56:14 UTC (rev 6851)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/06auth-hashed.t	2007-09-06 15:38:18 UTC (rev 6852)
@@ -17,6 +17,10 @@
         or plan skip_all =>
         "DBIx::Class is required for this test";
 
+    eval { require Digest::SHA1 }
+        or plan skip_all =>
+        "Digest::SHA1 is required for this test";
+
     plan tests => 2;
 
     $ENV{TESTAPP_DB_FILE} = "$FindBin::Bin/auth.db";




More information about the Catalyst-commits mailing list