X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-t%2F15-accessor.t;h=e683f7db091421d22bbe30893c4685b4e3006562;hb=86ef9f0d42674723bd1f2a23090a2ffe23d2aea3;hp=2f7c85cb07c8b8c8034786e28e833700a2da3317;hpb=a137305427594f63407bbf2a354b96578f682294;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/cdbi-t/15-accessor.t b/t/cdbi-t/15-accessor.t index 2f7c85c..e683f7d 100644 --- a/t/cdbi-t/15-accessor.t +++ b/t/cdbi-t/15-accessor.t @@ -2,8 +2,13 @@ use strict; use Test::More; BEGIN { - eval "use DBD::SQLite"; - plan $@ ? (skip_all => 'needs DBD::SQLite for testing') : (tests => 53); + 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 => 53); } INIT {