From f3bd113d0631f07f48d0d8790ee21c3e9c77be2f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 18 Jul 2012 17:16:34 +0200 Subject: [feature/new-tz-handling] Fix unit test PHPBB3-9558 --- tests/datetime/from_format_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/datetime/from_format_test.php b/tests/datetime/from_format_test.php index c89a16097d..c28925272e 100644 --- a/tests/datetime/from_format_test.php +++ b/tests/datetime/from_format_test.php @@ -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', -- cgit v1.2.1