X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fhasa_without_loading.t;h=5f92df2fea54cc963c9f0cd47da46f6acafc6433;hb=98fcc1c08b73df1c66c41fb4cc736e824e9e4026;hp=073ef3edfc51989b0700713487ac68dc15503e3f;hpb=50891152d0b24649bfd67bdba97feec86b11c064;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/hasa_without_loading.t b/t/cdbi/hasa_without_loading.t index 073ef3e..5f92df2 100644 --- a/t/cdbi/hasa_without_loading.t +++ b/t/cdbi/hasa_without_loading.t @@ -1,11 +1,9 @@ use strict; +use warnings; use Test::More; -BEGIN { - eval "use DBIx::Class::CDBICompat;"; - plan $@ ? (skip_all => 'Class::Trigger and DBIx::ContextualFetch required') - : (tests=> 2); -} +use lib 't/cdbi/testlib'; +use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs package Foo; @@ -19,3 +17,5 @@ eval { #::is $@, ''; ::is(Foo->table, "foo"); ::is_deeply [sort map lc, Foo->columns], [sort map lc, qw(foo bar)]; + +::done_testing;