From 49273ecbdecea4efcf72c4bb77f6478f32c7340d Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" <bkuhn@ebb.org> Date: Sun, 20 Dec 2015 12:45:36 -0800 Subject: [PATCH] Be sure DESTROY is called, etc. --- Supporters/t/Supporters.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Supporters/t/Supporters.t b/Supporters/t/Supporters.t index efb522a..e71093e 100644 --- a/Supporters/t/Supporters.t +++ b/Supporters/t/Supporters.t @@ -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"); +$sp = undef; + sub ResetDB($) { $_[0]->disconnect() if defined $_[0]; my $tempDBH = get_test_dbh();