mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-22 01:21:23 +02:00
[feature/new-tz-handling] Fix unit test
PHPBB3-9558
This commit is contained in:
@@ -39,7 +39,7 @@ class phpbb_datetime_from_format_test extends phpbb_test_case
|
||||
global $user;
|
||||
|
||||
$user = new phpbb_user();
|
||||
$user->tz = new DateTimeZone($timezone);
|
||||
$user->timezone = new DateTimeZone($timezone);
|
||||
$user->lang['datetime'] = array(
|
||||
'TODAY' => 'Today',
|
||||
'TOMORROW' => 'Tomorrow',
|
||||
|
Reference in New Issue
Block a user