X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fsweet%2F08pager.t;h=f645276a96f7cccb0c1900cac760ed1c9b2a82ed;hb=d9bd5195;hp=2f037ccd3bad3d92572704e5f1ebb08ea273d91c;hpb=aea59b74d807ee65b319f3c1f84709157e12926b;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/sweet/08pager.t b/t/cdbi/sweet/08pager.t index 2f037cc..f645276 100644 --- a/t/cdbi/sweet/08pager.t +++ b/t/cdbi/sweet/08pager.t @@ -3,17 +3,8 @@ 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 => 9; -} +use lib 't/cdbi/testlib'; +use DBIC::Test::SQLite; DBICTest::Schema::CD->load_components(qw/CDBICompat CDBICompat::Pager/); @@ -80,3 +71,5 @@ for ( map { DBICTest->schema->class($_) } DBICTest->schema->sources ) { no warnings qw/redefine once/; *DBICTest::schema = sub {}; } + +done_testing;