X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-t%2F03-subclassing.t;h=9dc689b2eacd6ffc98e73c467ce51e2cc0df7738;hb=146c1838a44b495f230443d3dc15874cf32644c0;hp=75b70d6791dcd0c07bd7e37ecd16083a86c77af8;hpb=510ca9120ab2fea50a0852ee4ed6a13735ed7ebc;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi-t/03-subclassing.t b/t/cdbi-t/03-subclassing.t index 75b70d6..9dc689b 100644 --- a/t/cdbi-t/03-subclassing.t +++ b/t/cdbi-t/03-subclassing.t @@ -6,8 +6,13 @@ use Test::More; #---------------------------------------------------------------------- BEGIN { - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 6); + eval "use DBIx::Class::CDBICompat;"; + if ($@) { + plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required'); + next; + } + eval "use DBD::SQLite"; + plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 6); } use lib 't/testlib';