X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestFromPSGI%2FController%2FRoot.pm;h=1f824534e44212aba768483979aaaae2373fa71e;hp=f3a0477230c3e2bbb4ca941916374999b9111f50;hb=f152ae23b886a4f0bcfaeaf401ea2bf71cd30ab1;hpb=efba3342e7c14be407683c876adcda8684b564d5 diff --git a/t/lib/TestFromPSGI/Controller/Root.pm b/t/lib/TestFromPSGI/Controller/Root.pm index f3a0477..1f82453 100644 --- a/t/lib/TestFromPSGI/Controller/Root.pm +++ b/t/lib/TestFromPSGI/Controller/Root.pm @@ -5,9 +5,9 @@ use MooseX::MethodAttributes; extends 'Catalyst::Controller'; -sub test_psgi_keys :Local Args(1) { - my ($self, $c, $key) = @_; - $c->res->body($c->req->env->{$key}); +sub test_psgi_keys :Local { + my ($self, $c) = @_; + $c->res->body('ok'); } sub from_psgi_array : Local {