[Catalyst-commits] r13228 - in
Catalyst-Authentication-Credential-HTTP/1.000/trunk: . t
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sat May 8 20:36:44 GMT 2010
Author: t0m
Date: 2010-05-08 21:36:44 +0100 (Sat, 08 May 2010)
New Revision: 13228
Modified:
Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes
Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL
Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app.t
Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app_digest.t
Log:
Make mech tests skip unless mech new enough. RT#55303
Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes 2010-05-08 20:32:41 UTC (rev 13227)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/Changes 2010-05-08 20:36:44 UTC (rev 13228)
@@ -1,3 +1,5 @@
+ - Skip WWW::Mech tests unless WWW::Mech is a new enough version (RT#55303).
+
1.012 2010-03-07
- Move actions out of the test applications to stop warnings.
Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL 2010-05-08 20:32:41 UTC (rev 13227)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/Makefile.PL 2010-05-08 20:36:44 UTC (rev 13228)
@@ -14,6 +14,7 @@
requires 'URI::Escape';
requires 'Class::Accessor::Fast';
+author_requires 'Test::WWW::Mechanize::Catalyst' => '0.51';
author_requires 'Test::Pod' => '1.14';
author_requires 'Test::Spelling' => '0.11';
author_requires 'Test::Pod::Coverage' => '1.04';
Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app.t
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app.t 2010-05-08 20:32:41 UTC (rev 13227)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app.t 2010-05-08 20:36:44 UTC (rev 13228)
@@ -7,7 +7,11 @@
use Test::More;
BEGIN {
- eval { require Test::WWW::Mechanize::Catalyst }
+ do {
+ eval { require Test::WWW::Mechanize::Catalyst }
+ and
+ Test::WWW::Mechanize::Catalyst->VERSION('0.51')
+ }
or plan skip_all =>
"Test::WWW::Mechanize::Catalyst is needed for this test";
plan tests => 4;
Modified: Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app_digest.t
===================================================================
--- Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app_digest.t 2010-05-08 20:32:41 UTC (rev 13227)
+++ Catalyst-Authentication-Credential-HTTP/1.000/trunk/t/live_app_digest.t 2010-05-08 20:36:44 UTC (rev 13228)
@@ -5,7 +5,11 @@
use lib "$Bin/lib";
use Test::More;
BEGIN {
- eval { require Test::WWW::Mechanize::Catalyst }
+ do {
+ eval { require Test::WWW::Mechanize::Catalyst }
+ and
+ Test::WWW::Mechanize::Catalyst->VERSION('0.51')
+ }
or plan skip_all =>
"Test::WWW::Mechanize::Catalyst is needed for this test";
eval { require Catalyst::Plugin::Cache }
More information about the Catalyst-commits
mailing list