X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-t%2F14-might_have.t;h=40b186efd97bd928051a4d64725291b5d12e2b6b;hb=289ba852733fc488dc43cd474f47780f7fa1771e;hp=edce8a306d05bdb72f0d5a925fde4ff4770fb03d;hpb=701da8c4d6f0b78ffc015085aa410a6cacfcdb40;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi-t/14-might_have.t b/t/cdbi-t/14-might_have.t index edce8a3..40b186e 100644 --- a/t/cdbi-t/14-might_have.t +++ b/t/cdbi-t/14-might_have.t @@ -2,8 +2,13 @@ use strict; use Test::More; BEGIN { - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 18); + 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 => 18); } use lib 't/testlib';