Moved end() from Catalyst::Plugin::Test::Plugin to TestApp::Controller::Root. Fixed...
[catagits/Catalyst-Runtime.git] / t / aggregate / live_engine_request_escaped_path.t
index b101365..fbc12ba 100644 (file)
@@ -1,5 +1,4 @@
-\feff#!perl
-
+#!/usr/bin/evn perl
 use strict;
 use warnings;
 
@@ -47,7 +46,7 @@ Index: lib/Catalyst/Engine/CGI.pm
     my $request = Catalyst::Utils::request( 'http://localhost/args/params/one/two' );
     my $cgi     = HTTP::Request::AsCGI->new( $request, %ENV )->setup;
 
-    TestApp->handle_request;
+    TestApp->handle_request( env => \%ENV );
 
     ok( my $response = $cgi->restore->response );
     ok( $response->is_success, 'Response Successful 2xx' );
@@ -65,7 +64,7 @@ TODO: {
     $ENV{PATH_INFO} = '/args/param%73/one/two';
 
 
-    TestApp->handle_request;
+    TestApp->handle_request( env => \%ENV );
 
     ok( my $response = $cgi->restore->response );
     ok( $response->is_success, 'Response Successful 2xx' );