our $iters;
-BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 2; }
+BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; }
use Test::More tests => 109*$iters;
use Catalyst::Test 'TestApp';
#
{
my @expected = qw[
- TestApp::Controller::Action::Chained->begin
TestApp::Controller::Action::Chained::Root->rootsub
TestApp::Controller::Action::Chained::Root->endpointsub
- TestApp::Controller::Action::Chained->end
+ TestApp->end
];
my $expected = join( ", ", @expected );
ok( my $response = request('http://localhost/rootsub/1/endpointsub/2'), 'chained in root namespace' );
is( $response->header('X-Catalyst-Executed'),
$expected, 'Executed actions' );
- is( $response->content, '1; 2', 'Content OK' );
+ is( $response->content, '', 'Content OK' );
}
#