1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/15201] Fix tests

PHPBB3-15201
This commit is contained in:
Rubén Calvo
2017-09-08 10:59:47 +02:00
parent 13b0f39961
commit 4b1ec6abb7
2 changed files with 5 additions and 2 deletions

View File

@@ -572,6 +572,9 @@ class phpbb_functional_test_case extends phpbb_test_case
$config['rand_seed'] = '';
$config['rand_seed_last_update'] = time() + 600;
// Prevent new user to have an invalid style
$config['default_style'] = 1;
// Required by user_add
global $db, $cache, $phpbb_dispatcher, $phpbb_container;
$db = $this->get_db();