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=2cc3a7be3;hp=2b986bd46ca47e8919db25b3bf7d72e6d1b7cdd2;hpb=12bbb33986a29dc27dd3e2b9d082a87f50124ec1;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi-t/19-set_sql.t b/t/cdbi-t/19-set_sql.t index 2b986bd..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'; @@ -62,8 +67,6 @@ Film->set_sql( is $pgs[1]->id, $f4->id, "and F4"; }; -#SKIP: { -# skip "DBIx::Class doesn't have has_a yet", 6; { Actor->has_a(film => "Film"); Film->set_sql(