[Catalyst-commits] r14154 - in
Catalyst-Plugin-Unicode-Encoding/trunk: . t
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Tue Nov 22 19:46:27 GMT 2011
Author: t0m
Date: 2011-11-22 19:46:27 +0000 (Tue, 22 Nov 2011)
New Revision: 14154
Modified:
Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL
Catalyst-Plugin-Unicode-Encoding/trunk/t/07nested_params.t
Log:
Fix test and requirements
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL 2011-11-11 08:28:22 UTC (rev 14153)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/Makefile.PL 2011-11-22 19:46:27 UTC (rev 14154)
@@ -11,6 +11,7 @@
requires 'URI' => '1.36';
requires 'Try::Tiny';
+author_requires 'Catalyst::Plugin::Params::Nested';
author_requires 'Test::WWW::Mechanize::Catalyst' => 0.51;
test_requires 'Test::More' => '0.88';
test_requires 'IO::Scalar';
Modified: Catalyst-Plugin-Unicode-Encoding/trunk/t/07nested_params.t
===================================================================
--- Catalyst-Plugin-Unicode-Encoding/trunk/t/07nested_params.t 2011-11-11 08:28:22 UTC (rev 14153)
+++ Catalyst-Plugin-Unicode-Encoding/trunk/t/07nested_params.t 2011-11-22 19:46:27 UTC (rev 14154)
@@ -8,6 +8,10 @@
# setup library path
use FindBin qw($Bin);
use lib "$Bin/lib";
+
+BEGIN { eval { require Catalyst::Plugin::Params::Nested; 1; } ||
+ plan skip_all => 'Need Catalyst::Plugin::Params::Nested' }
+
use Catalyst::Test 'TestApp2';
use Encode;
use HTTP::Request::Common;
More information about the Catalyst-commits
mailing list