mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11255] Fix dbal write sequence test to run standalone.
PHPBB3-11255
This commit is contained in:
parent
2364d4b217
commit
5b368dd53a
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ class phpbb_dbal_write_sequence_test extends phpbb_database_test_case
|
||||||
{
|
{
|
||||||
$db = $this->new_dbal();
|
$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(
|
$sql = 'INSERT INTO phpbb_users ' . $db->sql_build_array('INSERT', array(
|
||||||
'username' => $username,
|
'username' => $username,
|
||||||
'username_clean' => $username,
|
'username_clean' => $username,
|
||||||
|
|
Loading…
Add table
Reference in a new issue