[Catalyst-commits] r10702 - Catalyst-Runtime/5.80/trunk/t/aggregate
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Sun Jun 28 16:54:41 GMT 2009
Author: t0m
Date: 2009-06-28 16:54:40 +0000 (Sun, 28 Jun 2009)
New Revision: 10702
Modified:
Catalyst-Runtime/5.80/trunk/t/aggregate/live_engine_request_escaped_path.t
Log:
And unfuck test by calling ->handle_request correctly. Only showed up under Test::Aggregate, weird
Modified: Catalyst-Runtime/5.80/trunk/t/aggregate/live_engine_request_escaped_path.t
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/aggregate/live_engine_request_escaped_path.t 2009-06-28 16:45:21 UTC (rev 10701)
+++ Catalyst-Runtime/5.80/trunk/t/aggregate/live_engine_request_escaped_path.t 2009-06-28 16:54:40 UTC (rev 10702)
@@ -46,7 +46,7 @@
my $request = Catalyst::Utils::request( 'http://localhost/args/params/one/two' );
my $cgi = HTTP::Request::AsCGI->new( $request, %ENV )->setup;
- TestApp->handle_request;
+ TestApp->handle_request( env => \%ENV );
ok( my $response = $cgi->restore->response );
ok( $response->is_success, 'Response Successful 2xx' );
@@ -64,7 +64,7 @@
$ENV{PATH_INFO} = '/args/param%73/one/two';
- TestApp->handle_request;
+ TestApp->handle_request( env => \%ENV );
ok( my $response = $cgi->restore->response );
ok( $response->is_success, 'Response Successful 2xx' );
More information about the Catalyst-commits
mailing list