Add startup sanity check of the ::DBI::Replicated method dispatch tables
[dbsrgits/DBIx-Class-Historic.git] / t / cdbi / sweet / 08pager.t
index 015ea98..ad9de5a 100644 (file)
@@ -3,19 +3,18 @@ use warnings;
 
 use Test::More;
 
+use lib 't/lib';
+use DBICTest;
+
 BEGIN {
   eval "use DBIx::Class::CDBICompat;";
   if ($@) {
     plan (skip_all => 'Class::Trigger and DBIx::ContextualFetch required');
     next;
   }
-  plan tests => 10;
+  plan tests => 9;
 }
 
-use lib 't/lib';
-
-use_ok('DBICTest');
-
 DBICTest::Schema::CD->load_components(qw/CDBICompat CDBICompat::Pager/);
 
 my $schema = DBICTest->init_schema(compose_connection => 1);