X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_engine_request_escaped_path.t;h=e86c1546e48dbcfb72cebaa29fd405d4dfc76b48;hb=9c74923de2304b8c8f0a7a2faa0854ad9b4d3a92;hp=92bd2ee322bb9cfaa185fe7030517ce279951de0;hpb=b4c3100347e009b27f62e50b8e06dde227872328;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 92bd2ee..e86c154 100644 --- a/t/aggregate/live_engine_request_escaped_path.t +++ b/t/aggregate/live_engine_request_escaped_path.t @@ -18,11 +18,7 @@ use Catalyst::Test 'TestApp'; # test that request with URL-escaped code works. { - my $response = request('http://localhost/args/param%73/one/two', { - extra_env => { PATH_INFO => '/args/param%73/one/two' }, - }); - - ok( $response ); + ok( my $response = request('http://localhost/args/param%73/one/two') ); ok( $response->is_success, 'Response Successful 2xx' ); is( $response->content, 'onetwo' ); }