aboutsummaryrefslogtreecommitdiffstats
path: root/tests/datetime
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2015-12-05 00:01:27 +0700
committerrxu <rxu@mail.ru>2015-12-05 00:01:27 +0700
commit8916072a2abf0228a8795bd639c671769a2b86f3 (patch)
treea98bef82ed4f2ffabd737758b3709e9d769c7ac4 /tests/datetime
parentb0dfca1dbf503d8dbbcac87d7025b73227fb27ad (diff)
downloadforums-8916072a2abf0228a8795bd639c671769a2b86f3.tar
forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar.gz
forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar.bz2
forums-8916072a2abf0228a8795bd639c671769a2b86f3.tar.xz
forums-8916072a2abf0228a8795bd639c671769a2b86f3.zip
[ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests
The fix was introduces with #3826, now the PHP core bug has been fixed: https://bugs.php.net/bug.php?id=70249 PHPBB3-14340
Diffstat (limited to 'tests/datetime')
-rw-r--r--tests/datetime/from_format_test.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/datetime/from_format_test.php b/tests/datetime/from_format_test.php
index 32b88ff588..7ecb546768 100644
--- a/tests/datetime/from_format_test.php
+++ b/tests/datetime/from_format_test.php
@@ -113,10 +113,6 @@ class phpbb_datetime_from_format_test extends phpbb_test_case
{
global $phpbb_root_path, $phpEx;
- // This magically fixes the segmentation fault error on PHP7 tests
- // while date_default_timezone_set('UTC') does not
- date_default_timezone_set('Europe/Paris');
-
$lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx);
$lang = new \phpbb\language\language($lang_loader);
$user = new \phpbb\user($lang, '\phpbb\datetime');