X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_engine_request_escaped_path.t;h=fbc12ba76699c87fd5e847b8ecd4d3edf0d02d6a;hb=a0a66cb803a6ba6c0920c487e9c5d7fa148b7ec3;hp=c280b084472acb1532249f0f03594ae21ec18336;hpb=b4b58469aa968bd0e379d1e2af69f54eb5a91f8f;p=catagits%2FCatalyst-Runtime.git 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' );