From: Antony Dovgal Date: Mon, 7 Aug 2006 21:42:27 +0000 (+0000) Subject: fix tests X-Git-Tag: RELEASE_1_0_0RC1~2057 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec0269078dc6c002dbc0d7d9404ed044d4768aa5;p=php fix tests --- diff --git a/ext/date/tests/date_constants.phpt b/ext/date/tests/date_constants.phpt index 64808f4d4f..1bf0025372 100644 --- a/ext/date/tests/date_constants.phpt +++ b/ext/date/tests/date_constants.phpt @@ -90,7 +90,21 @@ unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200" unicode(31) "Tue, 30 May 2006 14:32:13 +0200" unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200" unicode(31) "Tue, 30 May 2006 14:32:13 +0200" +unicode(25) "2006-07-01T14:27:30+02:00" +unicode(25) "2006-05-30T14:32:13+02:00" unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200" unicode(31) "Tue, 30 May 2006 14:32:13 +0200" unicode(25) "2006-07-01T14:27:30+02:00" unicode(25) "2006-05-30T14:32:13+02:00" + +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) diff --git a/ext/date/tests/oo_001.phpt b/ext/date/tests/oo_001.phpt index 9b6142158f..c16f0b0869 100644 --- a/ext/date/tests/oo_001.phpt +++ b/ext/date/tests/oo_001.phpt @@ -51,3 +51,16 @@ Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly bool(false) DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne) DONE +--UEXPECTF-- +unicode(19) "%d-%d-%d %d:%d:%d" + +Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %soo_001.php on line %d +bool(false) +DateTime::__construct(): Failed to parse time string (1am todax) at position 4 (t): The timezone could not be found in the database +string(3) "UTC" + +Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly initialized by its constructor in %soo_001.php on line %d +bool(false) +DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne) +DONE +