mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
[ticket/10875] Close $db connection at end of test
Fixes a pgSQL issue PHPBB3-10875
This commit is contained in:
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);
|
$result = $db->sql_query($sql, 300);
|
||||||
|
|
||||||
$this->assertNotEquals($first_result, $db->sql_fetchrow($result));
|
$this->assertNotEquals($first_result, $db->sql_fetchrow($result));
|
||||||
|
|
||||||
|
$db->sql_close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user