1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

Merge pull request #4930 from rubencm/ticket/15201

[ticket/15201] Set user style to default style when it is disabled or uninstalled
This commit is contained in:
Marc Alexander
2017-10-22 10:19:30 +02:00
5 changed files with 60 additions and 25 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();