X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fearly_column_heisenbug.t;h=859d43da798ddf6679e0060629824ab633567199;hb=5bd3dbd48018c19c5204c6183469b62545b30055;hp=09ea6d9703508bf64ab57db7eb82194e041df1b0;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/early_column_heisenbug.t b/t/cdbi/early_column_heisenbug.t index 09ea6d9..859d43d 100644 --- a/t/cdbi/early_column_heisenbug.t +++ b/t/cdbi/early_column_heisenbug.t @@ -1,13 +1,10 @@ use strict; +use warnings; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan $@ ? (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@") - : ('no_plan'); -} - +use lib 't/cdbi/testlib'; +use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs { package Thing; @@ -25,4 +22,4 @@ is_deeply [Stuff->columns("Essential")], []; Thing->columns(Essential => qw(foo bar baz)); is_deeply [Stuff->columns("Essential")], []; -1; +done_testing;