X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FDump.pm;fp=t%2Flib%2FTestApp%2FController%2FDump.pm;h=bcf13bd0dd019be62cede6dd8ca1ea5acca0698b;hp=0864822dbad238b014b71589c86c5a4922be6850;hb=1ef7eebf9c868f25fb25288e54bb3f520bce7dc5;hpb=f9bdcfacb19ab17ed0b889ed6366272d8bf166fc 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'); }