X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2Fsweet%2F08pager.t;fp=t%2Fcdbi%2Fsweet%2F08pager.t;h=7f94e51b25c583a80bccf45910e57dccd00aeeb3;hb=7154ff351df7c3dad11339bfdb739346cff194e3;hp=e14c4fa3183a0ebd90456e4acb12f8f32b5d22ef;hpb=fd6687a2ebe23f631656136106280ff7721e3353;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/sweet/08pager.t b/t/cdbi/sweet/08pager.t index e14c4fa..7f94e51 100644 --- a/t/cdbi/sweet/08pager.t +++ b/t/cdbi/sweet/08pager.t @@ -63,15 +63,4 @@ is( $it->next, undef, "disable_sql_paging next past end of page ok" ); ); is( $it->count, 1, "complex abstract count ok" ); -# cleanup globals so we do not trigger the leaktest -for ( map { DBICTest->schema->class($_) } DBICTest->schema->sources ) { - $_->class_resolver(undef); - $_->resultset_instance(undef); - $_->result_source_instance(undef); -} -{ - no warnings qw/redefine once/; - *DBICTest::schema = sub {}; -} - done_testing;