[feature/new-tz-handling] Fix unit test

PHPBB3-9558
This commit is contained in:
Joas Schilling 2012-07-18 17:16:34 +02:00
parent 248a52be2a
commit f3bd113d06

View file

@ -39,7 +39,7 @@ class phpbb_datetime_from_format_test extends phpbb_test_case
global $user; global $user;
$user = new phpbb_user(); $user = new phpbb_user();
$user->tz = new DateTimeZone($timezone); $user->timezone = new DateTimeZone($timezone);
$user->lang['datetime'] = array( $user->lang['datetime'] = array(
'TODAY' => 'Today', 'TODAY' => 'Today',
'TOMORROW' => 'Tomorrow', 'TOMORROW' => 'Tomorrow',