Fix warning and test blank body behavior
[catagits/Catalyst-Action-REST.git] / t / lib / Test / Catalyst / Action / REST.pm
index c6422bd..0b992b7 100644 (file)
@@ -17,6 +17,7 @@ __PACKAGE__->config(
     },
 );
 __PACKAGE__->setup;
-__PACKAGE__->log( Test::Catalyst::Log->new );
+__PACKAGE__->log( Test::Catalyst::Log->new )
+    unless __PACKAGE__->debug;
 
 1;