Test suite wide leaktesting
[dbsrgits/DBIx-Class.git] / t / inflate / datetime_oracle.t
index af8c90b..72e0e17 100644 (file)
@@ -109,8 +109,9 @@ done_testing;
 
 # clean up our mess
 END {
-    if($schema && ($dbh = $schema->storage->dbh)) {
-        $dbh->do("DROP TABLE track");
-    }
+  if($schema && ($dbh = $schema->storage->dbh)) {
+    $dbh->do("DROP TABLE track");
+  }
+  undef $schema;
 }