From: Florian Ragwitz Date: Wed, 31 Mar 2010 23:38:07 +0000 (+0200) Subject: Shut the damn tests up. X-Git-Tag: 2.002001~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=commitdiff_plain;h=424de19e91ab12cbb5a747182459471bef9bc15c Shut the damn tests up. --- diff --git a/t/lib/RestTest.pm b/t/lib/RestTest.pm index a2550b8..6af6fa0 100644 --- a/t/lib/RestTest.pm +++ b/t/lib/RestTest.pm @@ -31,6 +31,15 @@ __PACKAGE__->config( name => 'RestTest' ); # Start the application __PACKAGE__->setup; +my $logger = Class::MOP::Class->create( + 'MyLog', + methods => { + (map { ($_ => sub { () }), ("is_${_}" => sub { () }) } qw(debug info warn error fatal)), + (map { ($_ => sub { () }) } qw(level levels enable disable abort)), + }, +); + +__PACKAGE__->log($logger->new_object); =head1 NAME