com php-src: Fixed test cases due to changes in rules: ext/date/tests/010.phpt ext/date/tests/bug17988.phpt

From: Date: Tue, 22 Sep 2015 07:42:12 +0000
Subject: com php-src: Fixed test cases due to changes in rules: ext/date/tests/010.phpt ext/date/tests/bug17988.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89101@lists.php.net to get a copy of this message
Commit: e4f3fb976b3cedff79ea478973ff37b0864cc780 Author: Derick Rethans <github@derickrethans.nl> Tue, 22 Sep 2015 08:42:12 +0100 Parents: fab5cbab1ad77632b1478566e050c3eeb7a69ab1 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e4f3fb976b3cedff79ea478973ff37b0864cc780 Log: Fixed test cases due to changes in rules Changed paths: M ext/date/tests/010.phpt M ext/date/tests/bug17988.phpt Diff: diff --git a/ext/date/tests/010.phpt b/ext/date/tests/010.phpt index 9f8c30a..8b39229 100644 --- a/ext/date/tests/010.phpt +++ b/ext/date/tests/010.phpt @@ -8,7 +8,7 @@ date_default_timezone_set('UTC'); echo "Done\n"; ?> --EXPECTF-- -array(7) { +array(6) { [0]=> array(3) { ["dst"]=> @@ -52,18 +52,9 @@ array(7) { ["offset"]=> int(0) ["timezone_id"]=> - string(3) "GMT" - } - [5]=> - array(3) { - ["dst"]=> - bool(false) - ["offset"]=> - int(0) - ["timezone_id"]=> string(3) "UTC" } - [6]=> + [5]=> array(3) { ["dst"]=> bool(false) diff --git a/ext/date/tests/bug17988.phpt b/ext/date/tests/bug17988.phpt index e758b16..01637d6 100644 --- a/ext/date/tests/bug17988.phpt +++ b/ext/date/tests/bug17988.phpt @@ -6,8 +6,6 @@ date.timezone=GMT <?php echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n"; echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n"; -echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MET")).."\n"; -echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n"; echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n"; echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n"; echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n"; @@ -21,8 +19,6 @@ echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0330"))."\n"; --EXPECT-- 2002-06-25 14:18:48 2002-06-25 14:18:48 -2002-06-25 13:18:48 -2002-06-25 12:18:48 2002-06-25 18:18:48 2002-06-25 14:18:48 2002-06-25 14:18:48

« previous php.cvs (#89101) next »