[Catalyst-commits] r11987 - in Catalyst-Plugin-Static-Simple/trunk:
. t
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Mon Nov 23 22:59:19 GMT 2009
Author: t0m
Date: 2009-11-23 22:59:19 +0000 (Mon, 23 Nov 2009)
New Revision: 11987
Modified:
Catalyst-Plugin-Static-Simple/trunk/Changes
Catalyst-Plugin-Static-Simple/trunk/t/08subreq.t
Log:
Bump dep for tests
Modified: Catalyst-Plugin-Static-Simple/trunk/Changes
===================================================================
--- Catalyst-Plugin-Static-Simple/trunk/Changes 2009-11-23 22:57:40 UTC (rev 11986)
+++ Catalyst-Plugin-Static-Simple/trunk/Changes 2009-11-23 22:59:19 UTC (rev 11987)
@@ -1,5 +1,8 @@
Revision history for Perl extension Catalyst::Plugin::Static::Simple
+ - Require newer (>= 0.15) Catalyst::Plugin::SubRequest for subrequest
+ tests as old versions don't work with new Catalyst (>= 5.80014)
+
0.25 2009-10-22 21:40:00 BST
- Fix bug where old unrelated $@ values would result in an error.
Modified: Catalyst-Plugin-Static-Simple/trunk/t/08subreq.t
===================================================================
--- Catalyst-Plugin-Static-Simple/trunk/t/08subreq.t 2009-11-23 22:57:40 UTC (rev 11986)
+++ Catalyst-Plugin-Static-Simple/trunk/t/08subreq.t 2009-11-23 22:59:19 UTC (rev 11987)
@@ -12,9 +12,13 @@
SKIP:
{
unless ( TestApp->isa('Catalyst::Plugin::SubRequest') ) {
- skip "Install Catalyst::Plugin::SubRequest >= 0.08 for these tests", 2;
+ skip "Install Catalyst::Plugin::SubRequest >= 0.15 for these tests", 2;
}
+ unless ( $Catalyst::Plugin::SubRequest::VERSION >= 0.15 ) {
+ skip "Need Catalyst::Plugin::SubRequest >= 0.15 for these tests", 2;
+ }
ok( my $res = request('http://localhost/subtest'), 'Request' );
is( $res->content, 'subtest2 ok', 'SubRequest ok' );
}
+
More information about the Catalyst-commits
mailing list