com php-src: Fixed expected test outcome due to rule changes: ext/date/tests/bug33414-1.phpt

From: Date: Wed, 15 Jun 2016 17:29:40 +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-92396@lists.php.net to get a copy of this message
Commit: e0e83c0180dd4491ba1f51099ec7ed131960baae Author: Derick Rethans <github@derickrethans.nl> Wed, 15 Jun 2016 18:29:40 +0100 Parents: f43f6fc39b92796aa934d4ae13675bb144d23435 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e0e83c0180dd4491ba1f51099ec7ed131960baae 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

« previous php.cvs (#92396) next »