X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=trunk%2Ft%2Faggregate%2Funit_dispatcher_requestargs_restore.t;fp=trunk%2Ft%2Faggregate%2Funit_dispatcher_requestargs_restore.t;h=0000000000000000000000000000000000000000;hb=f436bc1bece2bcc2a04138068e5c22e70d9d6d35;hp=9c4b7fab06cc17ccb74d7003551abf8c00e2c4c4;hpb=e28a6876ad3e11890226e5bab6df4b0725e0981e;p=catagits%2FCatalyst-Runtime.git diff --git a/trunk/t/aggregate/unit_dispatcher_requestargs_restore.t b/trunk/t/aggregate/unit_dispatcher_requestargs_restore.t deleted file mode 100644 index 9c4b7fa..0000000 --- a/trunk/t/aggregate/unit_dispatcher_requestargs_restore.t +++ /dev/null @@ -1,21 +0,0 @@ -# Insane test case for the behavior needed by Plugin::Auhorization::ACL - -# We have to localise $c->request->{arguments} in -# Catalyst::Dispatcher::_do_forward, rather than using save and restore, -# as otherwise, the calling $c->detach on an action which says -# die $Catalyst:DETACH causes the request arguments to not get restored, -# and therefore sub gorch gets the wrong string $frozjob parameter. - -# Please feel free to break this behavior once a sane hook for safely -# executing another action from the dispatcher (i.e. wrapping actions) -# is present, so that the Authorization::ACL plugin can be re-written -# to not be full of such crazy shit. - -use strict; -use warnings; -use FindBin qw/$Bin/; -use lib "$Bin/../lib"; -use Catalyst::Test 'ACLTestApp'; -use Test::More tests => 1; - -request('http://localhost/gorch/wozzle');