X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Fcustom_live_component_controller_action_auto_doublebug.t;fp=t%2Faggregate%2Fcustom_live_component_controller_action_auto_doublebug.t;h=0000000000000000000000000000000000000000;hb=f436bc1bece2bcc2a04138068e5c22e70d9d6d35;hp=1b657e6ed1ab120ccb781fe2a40a95ceae808539;hpb=e28a6876ad3e11890226e5bab6df4b0725e0981e;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/custom_live_component_controller_action_auto_doublebug.t b/t/aggregate/custom_live_component_controller_action_auto_doublebug.t deleted file mode 100644 index 1b657e6..0000000 --- a/t/aggregate/custom_live_component_controller_action_auto_doublebug.t +++ /dev/null @@ -1,48 +0,0 @@ -#!perl - -use strict; -use warnings; - -use FindBin; -use lib "$FindBin::Bin/../lib"; - -our $iters; - -BEGIN { $iters = $ENV{CAT_BENCH_ITERS} || 1; } - -use Test::More tests => 3*$iters; -use Catalyst::Test 'TestAppDoubleAutoBug'; - -if ( $ENV{CAT_BENCHMARK} ) { - require Benchmark; - Benchmark::timethis( $iters, \&run_tests ); -} -else { - for ( 1 .. $iters ) { - run_tests(); - } -} - -sub run_tests { - SKIP: - { - if ( $ENV{CATALYST_SERVER} ) { - skip 'Using remote server', 3; - } - - { - my @expected = qw[ - TestAppDoubleAutoBug::Controller::Root->auto - TestAppDoubleAutoBug::Controller::Root->default - TestAppDoubleAutoBug::Controller::Root->end - ]; - - my $expected = join( ", ", @expected ); - - ok( my $response = request('http://localhost/action/auto/one'), 'auto + local' ); - is( $response->header('X-Catalyst-Executed'), - $expected, 'Executed actions' ); - is( $response->content, 'default, auto=1', 'Content OK' ); - } - } -}