X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F745db2.t;h=3ba85794b1e933ba9ed6f500ef18861afe9fec32;hb=4abde54dcba7eebe51a53071ed99e690a47541bd;hp=3f635f819172581f15fa592575d922c41a853874;hpb=f2469db16c251b4a6554f244943db6d902203d3c;p=dbsrgits%2FDBIx-Class.git diff --git a/t/745db2.t b/t/745db2.t index 3f635f8..3ba8579 100644 --- a/t/745db2.t +++ b/t/745db2.t @@ -85,5 +85,6 @@ 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; }