Fix the CDI issue, Plugin::Auth's tests now blow up a different way..
[catagits/Catalyst-Runtime.git] / t / lib / CDICompatTestPlugin.pm
index 43b4270..470373c 100644 (file)
@@ -15,13 +15,14 @@ package CDICompatTestPlugin;
 use strict;
 use warnings;
 use base qw/Class::Accessor::Fast/;
+use MRO::Compat;
 __PACKAGE__->mk_accessors(qw/_config/);
 
 sub setup {
     my $app = shift;
 
     $app->config;
-    $app->NEXT::setup(@_);
+    $app->next::method(@_);
 }
 
 1;