X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F73oracle.t;h=51cc932282e6aaaa39b1f1810d0fcda9b772877b;hb=d2f21b377c36ca386492605c7b2c571eed09c0f6;hp=ee00ed5829eb7e322bbdac3cf43c9712c5c5ffd3;hpb=c2481821ea4d4e988a3586a126a103aa676bec47;p=dbsrgits%2FDBIx-Class.git diff --git a/t/73oracle.t b/t/73oracle.t index ee00ed5..51cc932 100644 --- a/t/73oracle.t +++ b/t/73oracle.t @@ -149,7 +149,7 @@ is($st->pkid1, 55, "Oracle Auto-PK without trigger: First primary key set manual # clean up our mess END { - if($dbh = $schema->storage->dbh) { + if($schema && ($dbh = $schema->storage->dbh)) { $dbh->do("DROP SEQUENCE artist_seq"); $dbh->do("DROP SEQUENCE pkid1_seq"); $dbh->do("DROP SEQUENCE pkid2_seq");