X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_component_controller_action_chained.t;h=cb4f0dc7979dd994c9cba656afc36867b6536c9d;hb=85d9fce671016c9040775c8b4458cf9c72ec2208;hp=619a7ed3ac74fd0a1bbee79874d5f729714db991;hpb=caaf37ad0160e5e4a3ec2a4ae9c4db1cdcd9a236;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_component_controller_action_chained.t b/t/live_component_controller_action_chained.t index 619a7ed..cb4f0dc 100644 --- a/t/live_component_controller_action_chained.t +++ b/t/live_component_controller_action_chained.t @@ -8,7 +8,7 @@ use lib "$FindBin::Bin/lib"; 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'; @@ -733,10 +733,9 @@ sub run_tests { # { 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 ); @@ -744,7 +743,7 @@ sub run_tests { 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' ); } #