completed the tests to use .pl config only
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / lib / TestApp2.pm
CommitLineData
802a7626 1package TestApp2;
2
3use strict;
4use warnings;
5
6use MRO::Compat;
7
8use Catalyst qw/ConfigLoader/;
9
10__PACKAGE__->config( "Plugin::ConfigLoader",
11 {
8504776d 12 file => __PACKAGE__->path_to( "customconfig.pl" )
802a7626 13 }
14 );
15
16our $VERSION = '0.01';
17
18__PACKAGE__->setup;
19
20sub finalize_config {
21 my $c = shift;
22 $c->config( foo => 'bar2' );
23 $c->next::method( @_ );
24}
25
261;