fix loading checks
[dbsrgits/DBIx-Class.git] / t / cdbi-t / 26-mutator.t
index a7f8f98..1eeea25 100644 (file)
@@ -2,6 +2,12 @@ use strict;
 use Test::More;
 
 BEGIN {
+  eval "use DBIx::Class::CDBICompat;";
+  plan skip_all => "Class::Trigger and DBIx::ContextualFetch required: $@"
+    if $@;
+}
+
+BEGIN {
        eval "use DBD::SQLite";
        plan $@
                ? (skip_all => 'needs DBD::SQLite for testing')