[Catalyst-commits] r6854 - trunk/Catalyst-Plugin-Authentication-Store-DBIC/t

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Thu Sep 6 16:53:47 GMT 2007


Author: bricas
Date: 2007-09-06 16:53:47 +0100 (Thu, 06 Sep 2007)
New Revision: 6854

Modified:
   trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/07auth-sessions.t
Log:
skip 07auth-sessions.t unless Catalyst::Plugin::Session::State::Cookie is installed (RT #28573)

Modified: trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/07auth-sessions.t
===================================================================
--- trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/07auth-sessions.t	2007-09-06 15:52:18 UTC (rev 6853)
+++ trunk/Catalyst-Plugin-Authentication-Store-DBIC/t/07auth-sessions.t	2007-09-06 15:53:47 UTC (rev 6854)
@@ -26,6 +26,10 @@
         or plan skip_all =>
         "Catalyst::Plugin::Session >= 0.02 is required for this test";
 
+    eval { require Catalyst::Plugin::Session::State::Cookie }
+        or plan skip_all =>
+        "Catalyst::Plugin::Session::State::Cookie is required for this test";
+
     plan tests => 8;
 
     $ENV{TESTAPP_DB_FILE} = "$FindBin::Bin/auth.db";




More information about the Catalyst-commits mailing list