X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F746db2_400.t;h=3a5d902f8fa79292d7947775c97cebc3a2ff53ab;hb=4e9fc3f33df616fb7340d05e304ff985b9cce9cb;hp=b3c55eb8b081bbac649a4122297c08bb268c7d68;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/746db2_400.t b/t/746db2_400.t index b3c55eb..3a5d902 100644 --- a/t/746db2_400.t +++ b/t/746db2_400.t @@ -86,6 +86,7 @@ is_deeply($type_info, $test_type_info, 'columns_info_for - column data types'); # clean up our mess END { - my $dbh = eval { $schema->storage->_dbh }; - $dbh->do("DROP TABLE artist") if $dbh; + my $dbh = eval { $schema->storage->_dbh }; + $dbh->do("DROP TABLE artist") if $dbh; + undef $schema; }