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;h=68b31d171477fafe5106d41c65c16867afed8d78;hp=92bd2ee322bb9cfaa185fe7030517ce279951de0;hb=10542b5178b2fa036e0658111523ea68a7a04437;hpb=b4c3100347e009b27f62e50b8e06dde227872328 diff --git a/t/aggregate/live_engine_request_escaped_path.t b/t/aggregate/live_engine_request_escaped_path.t index 92bd2ee..68b31d1 100644 --- a/t/aggregate/live_engine_request_escaped_path.t +++ b/t/aggregate/live_engine_request_escaped_path.t @@ -1,4 +1,3 @@ -#!/usr/bin/evn perl use strict; use warnings; @@ -18,11 +17,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' ); }