summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2015-09-22 08:42:12 +0100
committerDerick Rethans <github@derickrethans.nl>2015-09-22 08:42:12 +0100
commite4f3fb976b3cedff79ea478973ff37b0864cc780 (patch)
treed3825b93ce6e14af75aa05332773006c6b2fd6d5
parentfab5cbab1ad77632b1478566e050c3eeb7a69ab1 (diff)
downloadphp-git-e4f3fb976b3cedff79ea478973ff37b0864cc780.tar.gz
Fixed test cases due to changes in rules
-rw-r--r--ext/date/tests/010.phpt13
-rw-r--r--ext/date/tests/bug17988.phpt4
2 files changed, 2 insertions, 15 deletions
diff --git a/ext/date/tests/010.phpt b/ext/date/tests/010.phpt
index 9f8c30a2e9..8b39229703 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 e758b16aed..01637d69c9 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