X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Flive_engine_request_escaped_path.t;fp=t%2Faggregate%2Flive_engine_request_escaped_path.t;h=e86c1546e48dbcfb72cebaa29fd405d4dfc76b48;hp=92bd2ee322bb9cfaa185fe7030517ce279951de0;hb=4ee03d727423d0eab446e173ceb882163bc58f48;hpb=16918b4dbfe57d453aaf5e6d80ca92290722733a 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' ); }