we can reuse the same test app for container with and without sugar
[catagits/Catalyst-Runtime.git] / t / lib / TestAppPathBug.pm
index 04582a7..7ae5f5b 100644 (file)
@@ -1,14 +1,19 @@
-use strict;
-use warnings;
-
 package TestAppPathBug;
-
+use Moose;
+extends 'Catalyst';
 use Catalyst;
 
 our $VERSION = '0.01';
 
 __PACKAGE__->config( name => 'TestAppPathBug', root => '/some/dir' );
 
+__PACKAGE__->log(TestAppPathBug::Log->new);
 __PACKAGE__->setup;
 
+package TestAppPathBug::Log;
+use Moose;
+extends 'Catalyst::Log';
+
+sub warn {}
+
 1;