Moved some PAR stuff
[catagits/Catalyst-Runtime.git] / t / live / component / controller / action / begin.t
index 94f28fd..ab65643 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 ) {
@@ -30,6 +30,7 @@ sub run_tests {
           TestApp::Controller::Action::Begin->begin
           TestApp::Controller::Action::Begin->default
           TestApp::View::Dump::Request->process
+         TestApp->end
         ];
 
         my $expected = join( ", ", @expected );