Merge pull request #6 from nickvergessen/ticket/bantu/12176

[ticket/12176] Add newest_user_colour to config array to ensure it exists

* nickvergessen/ticket/bantu/12176:
  [ticket/12176] Add newest_user_colour to config array to ensure it exists
This commit is contained in:
Andreas Fischer 2014-03-13 00:17:59 +01:00
commit d3ddf29e59

View file

@ -423,6 +423,13 @@ class phpbb_functional_test_case extends phpbb_test_case
$config = array();
}
/*
* We need add some configs into the config array here, otherwise
* the set_config() function will try to add the value to the database,
* because some DBMS return 0 for sql_affectedrows() when a row was found,
* but not changed.
*/
$config['newest_user_colour'] = '';
$config['rand_seed'] = '';
$config['rand_seed_last_update'] = time() + 600;