test updates
[catagits/Catalyst-Plugin-ConfigLoader.git] / t / lib / TestApp.pm
index 50eecc7..b9a7063 100644 (file)
@@ -11,13 +11,8 @@ __PACKAGE__->setup;
 
 sub finalize_config {
     my $c = shift;
-    $c->config(foo => 'bar');
-    $c->NEXT::finalize_config;
-}
-
-sub appconfig : Local {
-    my ($self,$c,$var) = @_;
-    $c->res->body($c->config->{$var});
+    $c->config( foo => 'bar' );
+    $c->next::method( @_ );
 }
 
 1;