X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Funit_core_action_chained.t;fp=t%2Funit_core_action_chained.t;h=0000000000000000000000000000000000000000;hb=13c6b4cc50b9235536022e4deb470c151d9b7fac;hp=1d4f4a87c3bb572e90964a156503ccb43a917cc5;hpb=4fbc0e853c0b29d1f6082909b0cb54595ea32787;p=catagits%2FCatalyst-Runtime.git diff --git a/t/unit_core_action_chained.t b/t/unit_core_action_chained.t deleted file mode 100644 index 1d4f4a8..0000000 --- a/t/unit_core_action_chained.t +++ /dev/null @@ -1,26 +0,0 @@ -#!perl - -use strict; -use warnings; - -use FindBin; -use lib "$FindBin::Bin/lib"; - -use Test::More tests => 3; - - -use TestApp; - -my $dispatch_type = TestApp->dispatcher->dispatch_type('Chained'); -isa_ok($dispatch_type, "Catalyst::DispatchType::Chained", "got dispatch type"); - -# This test was failing due to recursion/OOM. set up an alarm so things dont -# runaway -local $SIG{ALRM} = sub { - ok(0, "Chained->list didn't loop"); - die "alarm expired - test probably looping"; -}; -alarm 10; - -$dispatch_type->list("TestApp"); -ok(1, "Chained->list didn't loop");