X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FCDICompatTestPlugin.pm;h=78d471ae727c40f0e73492598308616c70e00a52;hp=cc7df1c0d7cccbdfe7b7a5952db27a7519404013;hb=88e5a8b0c4d28e46b8ba6b6b9567063e57af9063;hpb=df3ea11bb1ad740663f2a4c909fba71612aa6a48 diff --git a/t/lib/CDICompatTestPlugin.pm b/t/lib/CDICompatTestPlugin.pm index cc7df1c..78d471a 100644 --- a/t/lib/CDICompatTestPlugin.pm +++ b/t/lib/CDICompatTestPlugin.pm @@ -8,7 +8,7 @@ package CDICompatTestPlugin; # stuff, as C::A::Plugin::Credential::Password is added to the plugin # list, and that uses base C::A::C::P class, does the mk_accessors. -# If a class data method called _config hasn't been created in +# If a class data method called _config hasn't been created in # MyApp ($app below), then our call to ->config gets our accessor # (rather than the class data one), and we fail.. @@ -26,16 +26,16 @@ sub setup { } # However, if we are too enthusiastic about adding accessors to the -# MyApp package, then this method isn't called (as there is a local +# MyApp package, then this method isn't called (as there is a local # symbol already). -# Note - use a different package here, so that Moose's +# Note - use a different package here, so that Moose's # package detection code doesn't get confused.. $CDICompatTestPlugin::Data::HAS_RUN_SETUP_FINISHED = 0; sub setup_finished { my $app = shift; - $CDICompatTestPlugin::Data::AS_RUN_SETUP_FINISHED = 1; + $CDICompatTestPlugin::Data::HAS_RUN_SETUP_FINISHED = 1; $app->next::method(@_); }