And unfuck test by calling ->handle_request correctly. Only showed up under Test...
Tomas Doran [Sun, 28 Jun 2009 16:54:40 +0000 (16:54 +0000)]
t/aggregate/live_engine_request_escaped_path.t

index c280b08..fbc12ba 100644 (file)
@@ -46,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' );
@@ -64,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' );