mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 07:42:09 +02:00
[ticket/11255] Fix dbal write sequence test to run standalone.
PHPBB3-11255
This commit is contained in:
parent
2364d4b217
commit
5b368dd53a
@ -33,6 +33,10 @@ class phpbb_dbal_write_sequence_test extends phpbb_database_test_case
|
||||
{
|
||||
$db = $this->new_dbal();
|
||||
|
||||
// dbal uses cache
|
||||
global $cache;
|
||||
$cache = new phpbb_mock_cache();
|
||||
|
||||
$sql = 'INSERT INTO phpbb_users ' . $db->sql_build_array('INSERT', array(
|
||||
'username' => $username,
|
||||
'username_clean' => $username,
|
||||
|
Loading…
x
Reference in New Issue
Block a user