X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp4.pm;fp=t%2Flib%2FTestApp4.pm;h=99fd3dfb823f5202c9504ef348252b1fae696164;hb=802a7626d6d40a25603748f71e8e7c85727ea0de;hp=0000000000000000000000000000000000000000;hpb=545e8098607107b4b2f4630dee78624506e4bfc8;p=catagits%2FCatalyst-Plugin-ConfigLoader.git diff --git a/t/lib/TestApp4.pm b/t/lib/TestApp4.pm new file mode 100644 index 0000000..99fd3df --- /dev/null +++ b/t/lib/TestApp4.pm @@ -0,0 +1,26 @@ +package TestApp4; + +use strict; +use warnings; + +use MRO::Compat; + +use Catalyst qw/ConfigLoader/; + +our $VERSION = '0.01'; + +__PACKAGE__->config( + "Plugin::ConfigLoader" => { + file => __PACKAGE__->path_to( "config.d" ) + } +); + +__PACKAGE__->setup; + +sub finalize_config { + my $c = shift; + $c->config( foo => 'bar4' ); + $c->next::method( @_ ); +} + +1;