From: Florian Ragwitz Date: Sun, 10 Jan 2010 04:42:14 +0000 (+0000) Subject: Don't dump psgi.input as it can't be deserialized. X-Git-Tag: 5.89000~59 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=7b73c8765925a05953204dbddea9ad601558f1ce Don't dump psgi.input as it can't be deserialized. --- diff --git a/t/lib/TestApp/View/Dump/Env.pm b/t/lib/TestApp/View/Dump/Env.pm index 0acd1df..a869be3 100644 --- a/t/lib/TestApp/View/Dump/Env.pm +++ b/t/lib/TestApp/View/Dump/Env.pm @@ -5,7 +5,12 @@ use base qw[TestApp::View::Dump]; sub process { my ( $self, $c ) = @_; - return $self->SUPER::process( $c, $c->engine->env ); + my $env = $c->engine->env; + return $self->SUPER::process($c, { + map { ($_ => $env->{$_}) } + grep { $_ ne 'psgi.input' } + keys %{ $env }, + }); } 1;