Disconnect from this database handle too.

This commit is contained in:
Bradley M. Kuhn 2015-12-14 17:28:36 -08:00
parent 159d3d6609
commit 74146a15c9

View file

@ -259,7 +259,7 @@ dies_ok { $tempSP->addSupporter({ display_name => "Roger Sterling",
email_address_type => 'home' }) }
"addSupporter: dies when email_address table does not exist & email adress given";
$tempDBH = reopen_test_dbh();
$tempDBH->disconnect; $tempDBH = reopen_test_dbh();
$val = $tempDBH->selectall_hashref("SELECT id FROM supporter;", 'id');