some helpful diag
[catagits/Catalyst-Plugin-Session.git] / t / live_app.t
index 63f69cb..ae2f791 100644 (file)
@@ -6,9 +6,9 @@ use warnings;
 use Test::More;
 
 BEGIN {
-    eval { require Catalyst::Plugin::Session::State::Cookie }
+    eval { require Catalyst::Plugin::Session::State::Cookie; Catalyst::Plugin::Session::State::Cookie->VERSION(0.03) }
       or plan skip_all =>
-      "Catalyst::Plugin::Session::State::Cookie is required for this test";
+      "Catalyst::Plugin::Session::State::Cookie 0.03 or higher is required for this test";
 
     eval { require Test::WWW::Mechanize::Catalyst }
       or plan skip_all =>
@@ -80,3 +80,6 @@ $_->get_ok( "http://localhost/page", "get main page" ) for $ua1, $ua2;
 $ua1->content_contains( "please login", "ua1 not logged in" );
 $ua2->content_contains( "please login", "ua2 not logged in" );
 
+diag("Testing against Catalyst $Catalyst::VERSION");
+diag("Testing Catalyst::Plugin::Session $Catalyst::Plugin::Session::VERSION");
+