fix oracle dep in Makefile.PL
[dbsrgits/DBIx-Class.git] / t / 745db2.t
index 3f635f8..3ba8579 100644 (file)
@@ -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;
 }