Reorganize CDBICompat tests - centralize prereq checks in one place
[dbsrgits/DBIx-Class.git] / t / cdbi / 98-failure.t
index 918bbf5..73db8ad 100644 (file)
@@ -5,14 +5,6 @@ use Test::More;
 # Test database failures
 #----------------------------------------------------------------------
 
-BEGIN {
-  eval "use DBIx::Class::CDBICompat;";
-  if ($@) {
-    plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required');
-  }
-  plan tests => 7;
-}
-
 use lib 't/cdbi/testlib';
 use Film;
 
@@ -58,3 +50,4 @@ if (0) {
   }
 }
 
+done_testing;