Merge 'DBIx-Class-current' into 'reorganize_tests'
[dbsrgits/DBIx-Class-Historic.git] / t / cdbi-t / 01-columns.t
index 09cae07..7d3f0bf 100644 (file)
@@ -1,6 +1,12 @@
 use strict;
 
-use Test::More tests => 24;
+use Test::More;
+
+BEGIN {
+  eval "use DBIx::Class::CDBICompat;";
+  plan $@ ? (skip_all => 'Class::Trigger and DBIx::ContextualFetch required') : (tests=> 24);
+}
+
 
 #-----------------------------------------------------------------------
 # Make sure that we can set up columns properly