X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp.pm;h=b9a706339c429eac3669975b781564583fbea2a2;hb=c098c4a20a49b7ebfd8cd6cec7b86d159ce1112b;hp=7f6873cf0618fa08d2103cabaeeaa24a6598c296;hpb=60f98160a05af53007c0a5d454ad4564af6d0702;p=catagits%2FCatalyst-Plugin-ConfigLoader.git diff --git a/t/lib/TestApp.pm b/t/lib/TestApp.pm index 7f6873c..b9a7063 100644 --- a/t/lib/TestApp.pm +++ b/t/lib/TestApp.pm @@ -3,8 +3,6 @@ package TestApp; use strict; use warnings; -use MRO::Compat; - use Catalyst qw/ConfigLoader/; our $VERSION = '0.01'; @@ -14,12 +12,7 @@ __PACKAGE__->setup; sub finalize_config { my $c = shift; $c->config( foo => 'bar' ); - $c->next::method(); -} - -sub appconfig : Local { - my ( $self, $c, $var ) = @_; - $c->res->body( $c->config->{ $var } ); + $c->next::method( @_ ); } 1;