X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi-sweet-t%2F08pager.t;h=07166e63a676907f96612b78c054d40e9dc173e1;hb=61bf0de5e9a3fd3d13dd7a97c2e8fb857f9d53c5;hp=e105932e3c993ec41b0ee315d1fd9a1cb8aadea4;hpb=58d387fec14d2f92723ab0db1d64a18ee449639c;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi-sweet-t/08pager.t b/t/cdbi-sweet-t/08pager.t index e105932..07166e6 100644 --- a/t/cdbi-sweet-t/08pager.t +++ b/t/cdbi-sweet-t/08pager.t @@ -16,9 +16,12 @@ BEGIN { use lib 't/lib'; use_ok('DBICTest'); -DBICTest::init_schema(); -DBICTest::CD->load_components(qw/CDBICompat::Pager/); +DBICTest::Schema::CD->load_components(qw/CDBICompat CDBICompat::Pager/); + +my $schema = DBICTest->init_schema(compose_connection => 1); + +DBICTest::CD->result_source_instance->schema->storage($schema->storage); my ( $pager, $it ) = DBICTest::CD->page( {},