com php-src: Fixed expected test outcome due to rule changes: ext/date/tests/bug33414-1.phpt
| From: | Derick Rethans | Date: | Wed, 15 Jun 2016 17:31:41 +0000 |
| Subject: | com php-src: Fixed expected test outcome due to rule changes: ext/date/tests/bug33414-1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92398@lists.php.net to get a copy of this message | ||
Commit: 8267a5fba75baf938306d1169807be57d646c6df
Author: Derick Rethans <github@derickrethans.nl> Wed, 15 Jun 2016 18:31:41 +0100
Parents: fffa1aa0f37acc4841b5faaff8c157764b0148f4
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8267a5fba75baf938306d1169807be57d646c6df
Log:
Fixed expected test outcome due to rule changes
Changed paths:
M ext/date/tests/bug33414-1.phpt
Diff:
diff --git a/ext/date/tests/bug33414-1.phpt b/ext/date/tests/bug33414-1.phpt
index 03d9b4c..bd6e4c3 100644
--- a/ext/date/tests/bug33414-1.phpt
+++ b/ext/date/tests/bug33414-1.phpt
@@ -49,9 +49,9 @@ print "TZ=Asia/Baku - wrong day.\n";
date_default_timezone_set("Asia/Baku");
$tStamp = mktime (17, 17, 17, 1, 8299, 1970);
print "tStamp=". date("l Y-m-d H:i:s T I", $tStamp). "\n";
-$strtotime_tstamp = strtotime("next Sunday", $tStamp);
+$strtotime_tstamp = strtotime("second Monday", $tStamp);
print "result=".date("l Y-m-d H:i:s T I", $strtotime_tstamp)."\n";
-print "wanted=Sunday 00:00:00\n\n";
+print "wanted=Monday 00:00:00\n\n";
print "TZ=America/Noronha - wrong day.\n";
date_default_timezone_set("America/Noronha");
@@ -227,8 +227,8 @@ wanted=Thursday 00:00:00
TZ=Asia/Baku - wrong day.
tStamp=Sunday 1992-09-20 17:17:17 AZST 1
-result=Sunday 1992-09-27 00:00:00 AZT 0
-wanted=Sunday 00:00:00
+result=Monday 1992-09-28 00:00:00 AZT 0
+wanted=Monday 00:00:00
TZ=America/Noronha - wrong day.
tStamp=Friday 1999-10-01 17:17:17 FNT 0