Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / cdbi / 98-failure.t
index 0f584b1..1a42e03 100644 (file)
@@ -1,20 +1,11 @@
 use strict;
+use warnings;
 use Test::More;
 
 #----------------------------------------------------------------------
 # Test database failures
 #----------------------------------------------------------------------
 
-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 => 7);
-}
-
 use lib 't/cdbi/testlib';
 use Film;
 
@@ -60,3 +51,4 @@ if (0) {
   }
 }
 
+done_testing;