[Catalyst-commits] r10228 - in Catalyst-Runtime/5.80/trunk: .
lib/Catalyst
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu May 21 20:16:36 GMT 2009
Author: t0m
Date: 2009-05-21 20:16:36 +0000 (Thu, 21 May 2009)
New Revision: 10228
Modified:
Catalyst-Runtime/5.80/trunk/Changes
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm
Log:
Fixed ->engine->env in Catalyst::Test, kmx++
Modified: Catalyst-Runtime/5.80/trunk/Changes
===================================================================
--- Catalyst-Runtime/5.80/trunk/Changes 2009-05-21 20:13:14 UTC (rev 10227)
+++ Catalyst-Runtime/5.80/trunk/Changes 2009-05-21 20:16:36 UTC (rev 10228)
@@ -2,6 +2,8 @@
- Further change pushing 'env' attribute down into Catalyst::Engine
to make $c->engine->env work in all cases (kmx)
+ - Also fix $c->engine->env in Catalyst::Test tests (kmx)
+ - Tests for this (t0m)
- Clarify correct techniques for Moose controllers (domm)
- Add $c->req->remote_user to disambiguate from $c->req->user (dwc)
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm 2009-05-21 20:13:14 UTC (rev 10227)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Test.pm 2009-05-21 20:16:36 UTC (rev 10228)
@@ -226,7 +226,7 @@
_customize_request($request, @_);
my $cgi = HTTP::Request::AsCGI->new( $request, %ENV )->setup;
- $class->handle_request;
+ $class->handle_request( env => \%ENV );
return $cgi->restore->response;
}
More information about the Catalyst-commits
mailing list