diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-09-08 10:59:47 +0200 |
---|---|---|
committer | Rubén Calvo <rubencm@gmail.com> | 2017-09-08 10:59:47 +0200 |
commit | 4b1ec6abb7b2d2daa320ac5e2872e055bc5b07d0 (patch) | |
tree | b75e2d7f5d20040eb44d99072ec0306a58ff072e /tests/test_framework | |
parent | 13b0f399612bf3c3f6ce04bda46429dab572e590 (diff) | |
download | forums-4b1ec6abb7b2d2daa320ac5e2872e055bc5b07d0.tar forums-4b1ec6abb7b2d2daa320ac5e2872e055bc5b07d0.tar.gz forums-4b1ec6abb7b2d2daa320ac5e2872e055bc5b07d0.tar.bz2 forums-4b1ec6abb7b2d2daa320ac5e2872e055bc5b07d0.tar.xz forums-4b1ec6abb7b2d2daa320ac5e2872e055bc5b07d0.zip |
[ticket/15201] Fix tests
PHPBB3-15201
Diffstat (limited to 'tests/test_framework')
-rw-r--r-- | tests/test_framework/phpbb_functional_test_case.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_framework/phpbb_functional_test_case.php b/tests/test_framework/phpbb_functional_test_case.php index eb56049515..c9943c4302 100644 --- a/tests/test_framework/phpbb_functional_test_case.php +++ b/tests/test_framework/phpbb_functional_test_case.php @@ -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(); |