use C3 in the tests also
[catagits/Catalyst-Component-ACCEPT_CONTEXT.git] / t / preserve-object.t
index 92e84fe..79d5afd 100644 (file)
@@ -21,7 +21,7 @@ is $foo->context->{ctx}, 'it is', 'got ctx';
 
     sub new {
         my $class = shift;
-        return $class->NEXT::new(@_);
+        return $class->next::method(@_);
     }
 
 }