X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fcolumns_dont_override_custom_accessors.t;h=fdff0826b9f8c50403e7f8930713df2e4f33ce67;hb=d9bd51956470404b3960871d3413fa98f16961d2;hp=6ec7fe1af07377f28854e77970e35578a171c522;hpb=aea59b74d807ee65b319f3c1f84709157e12926b;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/columns_dont_override_custom_accessors.t b/t/cdbi/columns_dont_override_custom_accessors.t index 6ec7fe1..fdff082 100644 --- a/t/cdbi/columns_dont_override_custom_accessors.t +++ b/t/cdbi/columns_dont_override_custom_accessors.t @@ -2,12 +2,6 @@ use strict; use Test::More; use lib 't/cdbi/testlib'; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan $@ ? (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@") - : (tests=> 5); -} - { package Thing; @@ -31,3 +25,5 @@ is( $thing->id, 23 ); is( $thing->yarrow, "hock", 'custom accessor not overwritten by column' ); is( $thing->foo, 42, 'custom routine not overwritten by temp column' ); is( $thing->bar, "that", 'temp column accessor generated' ); + +done_testing;