test inheritance of builtin actions in mainapp.
[catagits/Catalyst-Runtime.git] / t / live / component / controller / action / forward.t
index cf448bd..d64b5f9 100644 (file)
@@ -15,7 +15,7 @@ use Catalyst::Test 'TestApp';
 
 if ( $ENV{CAT_BENCHMARK} ) {
     require Benchmark;
-    Benchmark::timethis( -$iters, \&run_tests );
+    Benchmark::timethis( $iters, \&run_tests );
 }
 else {
     for ( 1 .. $iters ) {
@@ -33,6 +33,7 @@ sub run_tests {
           TestApp::Controller::Action::Forward->four
           TestApp::Controller::Action::Forward->five
           TestApp::View::Dump::Request->process
+         TestApp->end
         ];
 
         my $expected = join( ", ", @expected );
@@ -80,6 +81,7 @@ sub run_tests {
           TestApp::Controller::Action::Forward->four
           TestApp::Controller::Action::Forward->five
           TestApp::View::Dump::Request->process
+         TestApp->end
         ];
 
         my $expected = join( ", ", @expected );