X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp.pm;h=0e5f69b412f0072f6ee972b57c7e898fae597647;hb=c034d9bff89fd9191dd3679eab3d4656397eef3a;hp=50238af93e11858e3e49224a0fafd163c4ec3167;hpb=2ecb3b2ba79cd50746abcdf1620041c5e0851c0f;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 50238af..0e5f69b 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -24,17 +24,6 @@ TestApp->config( name => 'TestApp', root => '/some/dir' ); TestApp->context_class( 'TestApp::Context' ); TestApp->setup; -# Replace the very large HTML error page with -# useful info if something crashes during a test -sub finalize_error { - my $c = shift; - - $c->next::method(@_); - - $c->res->status(500); - $c->res->body( 'FATAL ERROR: ' . join( ', ', @{ $c->error } ) ); -} - { no warnings 'redefine'; sub Catalyst::Log::error { }