fixed example in the DBIx::Class::Storage::DBI::Replicated synopsis
[dbsrgits/DBIx-Class.git] / t / cdbi / 14-might_have.t
index a8c163f..73318ac 100644 (file)
@@ -1,16 +1,7 @@
 use strict;
+use warnings;
 use Test::More;
 
-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 => 22);
-}
-
 use lib 't/cdbi/testlib';
 use Film;
 use Blurb;
@@ -64,7 +55,7 @@ Film->create_test_film;
     $blurb = Blurb->retrieve('Bad Taste');
     is $blurb, undef, "Blurb has gone";
   }
-    
+
 }
 
 {
@@ -80,4 +71,6 @@ Film->create_test_film;
     ok $host->info->delete;
     $host->discard_changes;
     ok !$host->info, 'relationships rechecked after discard_changes';
-}
\ No newline at end of file
+}
+
+done_testing;