Be sure DESTROY is called, etc.

This commit is contained in:
Bradley M. Kuhn 2015-12-20 12:45:36 -08:00
parent 17c0f38639
commit 49273ecbde

View file

@ -383,6 +383,8 @@ dies_ok { $sp->_verifyId("String") } "_verifyId: dies for non-numeric id";
ok(not ($sp->_verifyId($drapperId + 10)), "_verifyId: non-existent id is not found"); ok(not ($sp->_verifyId($drapperId + 10)), "_verifyId: non-existent id is not found");
$sp = undef;
sub ResetDB($) { sub ResetDB($) {
$_[0]->disconnect() if defined $_[0]; $_[0]->disconnect() if defined $_[0];
my $tempDBH = get_test_dbh(); my $tempDBH = get_test_dbh();