X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fcdi_backcompat_plugin_accessor_override.t;h=d3efa18ce259f3663876603965cf8e650501fb55;hp=bb6bddf6c7a1f600db86e1c399e1a64a76f62150;hb=4ac0b9cb8e9043db8a95f44af685c782bf9426e7;hpb=76721d3c6f8660effa365b8c1574b1e87f4973cb diff --git a/t/cdi_backcompat_plugin_accessor_override.t b/t/cdi_backcompat_plugin_accessor_override.t index bb6bddf..d3efa18 100644 --- a/t/cdi_backcompat_plugin_accessor_override.t +++ b/t/cdi_backcompat_plugin_accessor_override.t @@ -24,13 +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. -{ - 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