Adjust the storage DESTROY and the tests to accomodate the new global RaiseError=1
[dbsrgits/DBIx-Class.git] / t / 746db2_400.t
index 21c72df..359c13e 100644 (file)
@@ -82,6 +82,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;
 }
-