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 => 10);
+ plan tests => 10;
}
INIT {
- use lib 't/cdbi/testlib';
- use Film;
+ use lib 't/cdbi/testlib';
+ use Film;
}