From: Dmitry Stogov Date: Wed, 7 Dec 2005 14:39:07 +0000 (+0000) Subject: Fixed tests X-Git-Tag: RELEASE_1_0_4~485 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=461f1d3c7007e400635e29d4e24c4cc18d477abe;p=php Fixed tests --- diff --git a/ext/date/tests/bug35414.phpt b/ext/date/tests/bug35414.phpt index 5e530fb98c..77dd6cb762 100644 --- a/ext/date/tests/bug35414.phpt +++ b/ext/date/tests/bug35414.phpt @@ -4,9 +4,9 @@ Bug #35414 (strtotime() no longer works with ordinal suffix) --EXPECT-- 2004-12-26T18:18:00+0000 diff --git a/ext/date/tests/bug35422.phpt b/ext/date/tests/bug35422.phpt index 8273c75411..c99d53f5a8 100644 --- a/ext/date/tests/bug35422.phpt +++ b/ext/date/tests/bug35422.phpt @@ -4,8 +4,8 @@ Bug #35422 (strtotime() does not parse times with UTC as timezone) --EXPECT-- 2000-07-01T00:00:00+0000 diff --git a/ext/date/tests/bug35456.phpt b/ext/date/tests/bug35456.phpt index 6432b99445..907e6df412 100644 --- a/ext/date/tests/bug35456.phpt +++ b/ext/date/tests/bug35456.phpt @@ -6,9 +6,9 @@ date_default_timezone_set("UTC"); $t = 1133216119; -echo date(DATE_ISO8601, strtotime("+ 1 day", $t)) . "\n"; -echo date(DATE_ISO8601, strtotime("+ 1 month", $t)) . "\n"; -echo date(DATE_ISO8601, strtotime("+ 1 week", $t)) . "\n"; +echo date(date::ISO8601, strtotime("+ 1 day", $t)) . "\n"; +echo date(date::ISO8601, strtotime("+ 1 month", $t)) . "\n"; +echo date(date::ISO8601, strtotime("+ 1 week", $t)) . "\n"; ?> --EXPECT-- 2005-11-29T22:15:19+0000 diff --git a/ext/date/tests/bug35499.phpt b/ext/date/tests/bug35499.phpt index 2fbcbf0bfa..c3cdf77b27 100644 --- a/ext/date/tests/bug35499.phpt +++ b/ext/date/tests/bug35499.phpt @@ -4,8 +4,8 @@ Bug #35499 (strtotime() does not handle whitespace around the date string) diff --git a/ext/date/tests/date_create-3.phpt b/ext/date/tests/date_create-3.phpt index 350a4c21d6..0874f03cf9 100644 --- a/ext/date/tests/date_create-3.phpt +++ b/ext/date/tests/date_create-3.phpt @@ -5,8 +5,8 @@ date_create() function [3] --FILE-- --EXPECT-- 2005-12-31T00:00:00+0100