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