X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdi_backcompat_plugin_accessor_override.t;h=d3efa18ce259f3663876603965cf8e650501fb55;hb=6b2a933b5b3820e494f9b5804c7c2eb6083bcf09;hp=01ee2585a6ceef5653f3d476fcfa6ffc7d8ed88b;hpb=6438561bfc12a8e065da190706a2516c74a23698;p=catagits%2FCatalyst-Runtime.git diff --git a/t/cdi_backcompat_plugin_accessor_override.t b/t/cdi_backcompat_plugin_accessor_override.t index 01ee258..d3efa18 100644 --- a/t/cdi_backcompat_plugin_accessor_override.t +++ b/t/cdi_backcompat_plugin_accessor_override.t @@ -24,15 +24,16 @@ $SIG{__DIE__} = \&Carp::confess; __PACKAGE__->config; } -lives_ok { - CDICompatTestApp->setup; -} 'Setup app with plugins which says use base qw/Class::Accessor::Fast/'; +SKIP: { + skip 'Not trying to replicate the nasty CDI hackness', 2; + lives_ok { + CDICompatTestApp->setup; + } 'Setup app with plugins which says use base qw/Class::Accessor::Fast/'; -# And the plugin's setup_finished method should have been run, as accessors -# are not created in MyApp until the data is written to. -TODO: { - local $TODO = "Copying the class data accessor down into MyApp other than at runtime\n" . - " when assigned (as pre exact CDI behavior) causes methods to not get run"; - no warnings 'once'; - is $CDICompatTestPlugin::Data::HAS_RUN_SETUP_FINISHED, 1, 'Plugin setup_finish run'; -} + # And the plugin's setup_finished method should have been run, as accessors + # are not created in MyApp until the data is written to. + { + no warnings 'once'; + is $CDICompatTestPlugin::Data::HAS_RUN_SETUP_FINISHED, 1, 'Plugin setup_finish run'; + } +} \ No newline at end of file