X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-t%2F21-iterator.t;h=3c84f4c8903ed0cb0f3c855da626d266a4e116cc;hb=d36325cc288373f9113d1007d6f4470a05f51cb8;hp=2f34c1152df5c57abb5fc65a2b58e9d8217b9d9d;hpb=223b8fe3185dba976b275c120ba7a07c05c06644;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi-t/21-iterator.t b/t/cdbi-t/21-iterator.t index 2f34c11..3c84f4c 100644 --- a/t/cdbi-t/21-iterator.t +++ b/t/cdbi-t/21-iterator.t @@ -2,8 +2,13 @@ use strict; use Test::More; BEGIN { - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 33); + 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 => 33); } use lib 't/testlib';