X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Component-ACCEPT_CONTEXT.git;a=blobdiff_plain;f=t%2Fmro-ok.t;h=2d0a1f2371a6dfc8164777d07f4bce835c643216;hp=724b22bf16e115f3f65541ea4f6104517ba8c3b0;hb=c9c41e4d0a7b646843e3a6f471c7f02c99543e4a;hpb=16beaa34faea61ca82bde58b02237776ff61804d diff --git a/t/mro-ok.t b/t/mro-ok.t index 724b22b..2d0a1f2 100644 --- a/t/mro-ok.t +++ b/t/mro-ok.t @@ -9,7 +9,7 @@ BEGIN { { no warnings; sub Catalyst::Controller::new { $NEW_CALLED = 1; - return shift->NEXT::new(@_); + return shift->next::method(@_); } } }