mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/10875] Close $db connection at end of test
Fixes a pgSQL issue PHPBB3-10875
This commit is contained in:
parent
b64ac12bd5
commit
44e48817c3
1 changed files with 2 additions and 0 deletions
2
tests/cache/cache_test.php
vendored
2
tests/cache/cache_test.php
vendored
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue