X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FView%2FDump.pm;fp=t%2Flib%2FTestApp%2FView%2FDump.pm;h=43cc976a1a10280dff16a104538f7d17e5dd3c82;hp=afbc0eb2d041c77ce9f06ef4adcb8ecd605e61ae;hb=0eb98ebd1624e8181a4bd88c26605f2a0f1c91d7;hpb=5490e07520041540df97324c60dd7e940a672189 diff --git a/t/lib/TestApp/View/Dump.pm b/t/lib/TestApp/View/Dump.pm index afbc0eb..43cc976 100644 --- a/t/lib/TestApp/View/Dump.pm +++ b/t/lib/TestApp/View/Dump.pm @@ -39,6 +39,10 @@ sub process { # Remove context from reference if needed my $context = delete $reference->{_context}; + if (my $log = $reference->{_log}) { + $log->clear_psgienv if $log->can('psgienv'); + } + if ( my $output = $self->dump( $reference, $purity ) ) {