X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fsweet%2F08pager.t;h=ad9de5a69470def9174f4df653a2e11f4236189d;hb=4bea1fe7a2b4827947b3d0d64b16a0f2c5e594bd;hp=015ea983e567ea2fe0efdacbb90e65c6ea5005ed;hpb=4190ff95124ad2b3f33067b2e7d6ccfb919dab7c;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/cdbi/sweet/08pager.t b/t/cdbi/sweet/08pager.t index 015ea98..ad9de5a 100644 --- a/t/cdbi/sweet/08pager.t +++ b/t/cdbi/sweet/08pager.t @@ -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);