X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Flive_engine_request_escaped_path.t;h=68b31d171477fafe5106d41c65c16867afed8d78;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hp=92bd2ee322bb9cfaa185fe7030517ce279951de0;hpb=16918b4dbfe57d453aaf5e6d80ca92290722733a;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..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' ); }