use Test::More;
-BEGIN {
- eval "use DBIx::Class::CDBICompat;";
- plan $@ ? (skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@")
- : ('no_plan');
-}
-
+use lib 't/cdbi/testlib';
+use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs
{
package Thing;
Thing->columns(Essential => qw(foo bar baz));
is_deeply [Stuff->columns("Essential")], [];
-1;
+done_testing;