have to use a real app in test due to changes in runtime COMPONENT
[catagits/Catalyst-Component-ACCEPT_CONTEXT.git] / t / mro-ok.t
index 724b22b..2d0a1f2 100644 (file)
@@ -9,7 +9,7 @@ BEGIN {
     { no warnings;
       sub Catalyst::Controller::new {
           $NEW_CALLED = 1;
-          return shift->NEXT::new(@_);
+          return shift->next::method(@_);
       }
   }
 }