aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_functional_test_case.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-10-22 10:19:30 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-10-22 10:19:30 +0200
commit3b5c624c03351b4e4acbfc1d1818576e04faea69 (patch)
tree103af4d8423e513f62b8e9a4c1740a357c33f9e9 /tests/test_framework/phpbb_functional_test_case.php
parent1d12d76790a2fa6d1fc746302cb2a33ec41c3341 (diff)
parentbace8dd31f0a5c2f95ae612e7e1b2e6d3083613b (diff)
downloadforums-3b5c624c03351b4e4acbfc1d1818576e04faea69.tar
forums-3b5c624c03351b4e4acbfc1d1818576e04faea69.tar.gz
forums-3b5c624c03351b4e4acbfc1d1818576e04faea69.tar.bz2
forums-3b5c624c03351b4e4acbfc1d1818576e04faea69.tar.xz
forums-3b5c624c03351b4e4acbfc1d1818576e04faea69.zip
Merge pull request #4930 from rubencm/ticket/15201
[ticket/15201] Set user style to default style when it is disabled or uninstalled
Diffstat (limited to 'tests/test_framework/phpbb_functional_test_case.php')
-rw-r--r--tests/test_framework/phpbb_functional_test_case.php3
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();