X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestAppBadlyImmutable.pm;h=48a13fdfb36d7cd517abb325db0d761269bf7fc7;hb=4c71cf1b43594eabfee6e346a0a30b6dcf315b4f;hp=2beefe6bf226b2f28dba24906c8e466581ca0a94;hpb=81ef9afd4f446447d48b5844045b388f6d304d2b;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestAppBadlyImmutable.pm b/t/lib/TestAppBadlyImmutable.pm index 2beefe6..48a13fd 100644 --- a/t/lib/TestAppBadlyImmutable.pm +++ b/t/lib/TestAppBadlyImmutable.pm @@ -1,10 +1,12 @@ package TestAppBadlyImmutable; use Catalyst qw/+TestPluginWithConstructor/; + +use base qw/Class::Accessor Catalyst/; + use Test::More; __PACKAGE__->setup; -ok !__PACKAGE__->meta->is_immutable, 'Am not already immutable'; __PACKAGE__->meta->make_immutable( inline_constructor => 0 ); ok __PACKAGE__->meta->is_immutable, 'Am now immutable';