X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-t%2F19-set_sql.t;h=36b66af8843aefa7b1914775577eae18f63af76b;hb=0b88a5bb24f2b536a11ea76e228897f60a10893d;hp=bab8f51cf20cee52935d2f199bda833bdef9ec09;hpb=510ca9120ab2fea50a0852ee4ed6a13735ed7ebc;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/cdbi-t/19-set_sql.t b/t/cdbi-t/19-set_sql.t index bab8f51..36b66af 100644 --- a/t/cdbi-t/19-set_sql.t +++ b/t/cdbi-t/19-set_sql.t @@ -2,8 +2,13 @@ use strict; use Test::More; BEGIN { - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 17); + 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 => 17); } use lib 't/testlib'; @@ -104,3 +109,4 @@ Film->set_sql( is $apg[1]->title, "B", "and B"; } +#} # end SKIP block