Be sure DESTROY is called, etc.
This commit is contained in:
parent
17c0f38639
commit
49273ecbde
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue