aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-07-31 14:43:22 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-08-06 16:26:55 -0500
commit44e48817c387ff5ee26746a00a00f900bdd375dd (patch)
tree7530328e4f8acbd3ab376c7e14fb80e5406ade34
parentb64ac12bd566a08ff7d4ff3a257dfbb2f8168a56 (diff)
downloadforums-44e48817c387ff5ee26746a00a00f900bdd375dd.tar
forums-44e48817c387ff5ee26746a00a00f900bdd375dd.tar.gz
forums-44e48817c387ff5ee26746a00a00f900bdd375dd.tar.bz2
forums-44e48817c387ff5ee26746a00a00f900bdd375dd.tar.xz
forums-44e48817c387ff5ee26746a00a00f900bdd375dd.zip
[ticket/10875] Close $db connection at end of test
Fixes a pgSQL issue PHPBB3-10875
-rw-r--r--tests/cache/cache_test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cache/cache_test.php b/tests/cache/cache_test.php
index c73d36973e..06d9d89f68 100644
--- a/tests/cache/cache_test.php
+++ b/tests/cache/cache_test.php
@@ -100,5 +100,7 @@ class phpbb_cache_test extends phpbb_database_test_case
$result = $db->sql_query($sql, 300);
$this->assertNotEquals($first_result, $db->sql_fetchrow($result));
+
+ $db->sql_close();
}
}