use inlined module hiding in tests
[catagits/Catalyst-Runtime.git] / t / aggregate / live_engine_request_escaped_path.t
index 92bd2ee..68b31d1 100644 (file)
@@ -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' );
 }