From: Tomas Doran Date: Sun, 28 Jun 2009 16:54:40 +0000 (+0000) Subject: And unfuck test by calling ->handle_request correctly. Only showed up under Test... X-Git-Tag: 5.80006~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ec0ae77e9943964383d736b794afba36f2b3750;p=catagits%2FCatalyst-Runtime.git And unfuck test by calling ->handle_request correctly. Only showed up under Test::Aggregate, weird --- diff --git a/t/aggregate/live_engine_request_escaped_path.t b/t/aggregate/live_engine_request_escaped_path.t index c280b08..fbc12ba 100644 --- a/t/aggregate/live_engine_request_escaped_path.t +++ b/t/aggregate/live_engine_request_escaped_path.t @@ -46,7 +46,7 @@ Index: lib/Catalyst/Engine/CGI.pm 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 @@ TODO: { $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' );