X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_component_controller_action_chained.t;fp=t%2Flive_component_controller_action_chained.t;h=cb4f0dc7979dd994c9cba656afc36867b6536c9d;hb=7fc14ce0f78b4cd7cab1c951b5c88cf49d3896b6;hp=9fcdc48d0dca5299d0cad717ef901984c0a77c54;hpb=c083098cfabbb2c9dc01213659324004290dca72;p=catagits%2FCatalyst-Runtime.git diff --git a/t/live_component_controller_action_chained.t b/t/live_component_controller_action_chained.t index 9fcdc48..cb4f0dc 100644 --- a/t/live_component_controller_action_chained.t +++ b/t/live_component_controller_action_chained.t @@ -10,7 +10,7 @@ our $iters; BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; } -use Test::More tests => 112*$iters; +use Test::More tests => 109*$iters; use Catalyst::Test 'TestApp'; if ( $ENV{CAT_BENCHMARK} ) { @@ -766,22 +766,4 @@ sub run_tests { is( $response->content, '; ', 'Content OK' ); } - # - # PathPrefix - # - { - my @expected = qw[ - TestApp::Controller::Action::Chained->begin - TestApp::Controller::Action::Chained::PathPrefix->instance - TestApp::Controller::Action::Chained->end - ]; - - my $expected = join( ", ", @expected ); - - ok( my $response = request('http://localhost/action/chained/pathprefix/1'), - "PathPrefix (as an endpoint)" ); - is( $response->header('X-Catalyst-Executed'), - $expected, 'Executed actions' ); - is( $response->content, '; 1', 'Content OK' ); - } }