X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FDump.pm;h=bcf13bd0dd019be62cede6dd8ca1ea5acca0698b;hb=310c2a39c86dc3f8a1dd0bb80c2543e809e2cb3c;hp=0864822dbad238b014b71589c86c5a4922be6850;hpb=11e7af55dda3f3acd9ab3b484b54180f76b253df;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/Controller/Dump.pm b/t/lib/TestApp/Controller/Dump.pm index 0864822..bcf13bd 100644 --- a/t/lib/TestApp/Controller/Dump.pm +++ b/t/lib/TestApp/Controller/Dump.pm @@ -16,7 +16,9 @@ sub env : Action Relative { sub env_on_engine : Action Relative { my ( $self, $c ) = @_; - $c->stash(env => $c->engine->env); + # JNAP - I changed this to req since the engine no longer + # has the env but the tests here are useful. + $c->stash(env => $c->req->env); $c->forward('TestApp::View::Dump::Env'); }