[Catalyst-commits] r7026 - Catalyst-Runtime/5.70/trunk/t

ash at dev.catalyst.perl.org ash at dev.catalyst.perl.org
Thu Oct 18 12:11:28 GMT 2007


Author: ash
Date: 2007-10-18 12:11:28 +0100 (Thu, 18 Oct 2007)
New Revision: 7026

Modified:
   Catalyst-Runtime/5.70/trunk/t/live_engine_request_uri.t
Log:
Back out tests since miyagawa already added them else where.

Modified: Catalyst-Runtime/5.70/trunk/t/live_engine_request_uri.t
===================================================================
--- Catalyst-Runtime/5.70/trunk/t/live_engine_request_uri.t	2007-10-18 10:52:55 UTC (rev 7025)
+++ Catalyst-Runtime/5.70/trunk/t/live_engine_request_uri.t	2007-10-18 11:11:28 UTC (rev 7026)
@@ -6,7 +6,7 @@
 use FindBin;
 use lib "$FindBin::Bin/lib";
 
-use Test::More tests => 54;
+use Test::More tests => 49;
 use Catalyst::Test 'TestApp';
 use Catalyst::Request;
 
@@ -120,12 +120,3 @@
     is( $response->header( 'X-Catalyst-warnings' ), 0, 'no warnings emitted' );
 }
 
-
-# test that query params are unescaped properly with '+'
-{
-    ok( my $response = request('http://localhost/engine/request/uri?text=C%2B%2B+lang'), 'Request' );
-    ok( $response->is_success, 'Response Successful 2xx' );
-    ok( eval '$creq = ' . $response->content, 'Unserialize Catalyst::Request' );
-    is( $creq->{uri}->query, 'text=C%2B%2B+lang', 'Query string ok' );
-    is( $creq->{parameters}->{text}, 'C++ lang', 'Unescaped param has pluses in it' );
-}




More information about the Catalyst-commits mailing list