stop using Moo as a test package
[catagits/Catalyst-Runtime.git] / t / lib / TestAppPathBug.pm
CommitLineData
2f381252 1use strict;
2use warnings;
3
4package TestAppPathBug;
f15ff320 5use strict;
6use warnings;
2f381252 7use Catalyst;
8
9our $VERSION = '0.01';
10
11__PACKAGE__->config( name => 'TestAppPathBug', root => '/some/dir' );
12
f15ff320 13__PACKAGE__->log(TestAppPathBug::Log->new);
2f381252 14__PACKAGE__->setup;
15
cb88f828 16sub foo : Path {
17 my ( $self, $c ) = @_;
18 $c->res->body( 'This is the foo method.' );
19}
20
f15ff320 21package TestAppPathBug::Log;
22use strict;
23use warnings;
24use base qw/Catalyst::Log/;
25
26sub warn {}
27
2f381252 281;