X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FBaseSchema.pm;h=cdc7a02e71d126bfe860bffc0fc87b4142e5442b;hb=c7e856308aeac1faa6f4d8ad59da096e009d70f4;hp=c68d7fded0694f63c499bcc6fe110c0c46148686;hpb=8e459d6005843065cbfa0ae7990822f762a439a3;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/BaseSchema.pm b/t/lib/DBICTest/BaseSchema.pm index c68d7fd..cdc7a02 100644 --- a/t/lib/DBICTest/BaseSchema.pm +++ b/t/lib/DBICTest/BaseSchema.pm @@ -257,11 +257,7 @@ sub clone { } END { - # Make sure we run after any cleanup in other END blocks - require B; - push @{ B::end_av()->object_2svref }, sub { - assert_empty_weakregistry($weak_registry, 'quiet'); - }; + assert_empty_weakregistry($weak_registry, 'quiet'); } 1;