mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
This commit is contained in:
@@ -22,7 +22,7 @@ class phpbb_generate_string_list_test extends phpbb_test_case
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->user = new \phpbb\user();
|
||||
$this->user = new \phpbb\user('\phpbb\datetime');
|
||||
$this->user->data = array('user_lang' => 'en');
|
||||
$this->user->add_lang('common');
|
||||
}
|
||||
|
Reference in New Issue
Block a user