Use Plack::Loader and push the running of plack back into the engine code. Unsure...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Test.pm
index c8d32e8..cf05f5f 100644 (file)
@@ -27,7 +27,7 @@ my $build_exports = sub {
         }
         $class->import;
 
-        my $app = $class->run;
+        my $app = $class->engine->_build_psgi_app($class);
 
         $request = sub { local_request( $app, @_ ) };
     }