summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/Auth/OpenID/StoreTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php
index bf20828..e0daf19 100644
--- a/Tests/Auth/OpenID/StoreTest.php
+++ b/Tests/Auth/OpenID/StoreTest.php
@@ -369,6 +369,9 @@ explicitly');
return;
}
+ $template_db->disconnect();
+ unset($template_db);
+
// Disconnect from template1 and reconnect to the temporary
// testing database.
$dsn['database'] = $temp_db_name;
@@ -386,6 +389,7 @@ explicitly');
$this->_testNonce($store);
$db->disconnect();
+ unset($db);
// Connect to template1 again so we can drop the temporary
// database.
@@ -407,6 +411,8 @@ explicitly');
$result->getMessage());
return;
}
+
+ $template_db->disconnect();
}
function test_sqlitestore()