further changes to the Sybase / MSSQL storage stuff
[dbsrgits/DBIx-Class.git] / t / cdbi-t / 04-lazy.t
index 9db9e27..69b3549 100644 (file)
@@ -1,11 +1,17 @@
 use strict;
 use Test::More;
 
+
 #----------------------------------------------------------------------
 # Test lazy loading
 #----------------------------------------------------------------------
 
 BEGIN {
+  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 => 25);
 }