From: Felipe Pena Date: Tue, 6 Jul 2010 00:25:52 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.3.3RC3~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4d11883137f740ecde79864ac8d2e132dd43d36;p=php - Fixed tests --- diff --git a/ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt b/ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt index bd6344fa24..126c4b8327 100644 --- a/ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt +++ b/ext/date/tests/DateTimeZone_listAbbreviations_basic1.phpt @@ -26,7 +26,7 @@ var_dump( $abbr["acst"] ); --EXPECT-- *** Testing DateTimeZone::listAbbreviations() : basic functionality *** string(5) "array" -int(338) +int(399) -- Format a sample entry -- array(4) { diff --git a/ext/date/tests/bug51393.phpt b/ext/date/tests/bug51393.phpt index c4c4d61a1e..e3f0983ae2 100644 --- a/ext/date/tests/bug51393.phpt +++ b/ext/date/tests/bug51393.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #51393 (DateTime::createFromFormat() fails if format string contains timezone) +--INI-- +date.timezone=UTC --FILE-- class Directory ] { } - Methods [3] { - Method [ public method close ] { + Method [ public method close ] { + + - Parameters [1] { + Parameter #0 [ $dir_handle ] + } } - Method [ public method rewind ] { + Method [ public method rewind ] { + + - Parameters [1] { + Parameter #0 [ $dir_handle ] + } } - Method [ public method read ] { + Method [ public method read ] { + + - Parameters [1] { + Parameter #0 [ $dir_handle ] + } } } } @@ -50,4 +62,4 @@ object(Directory)#%d (0) { } Warning: Directory::read(): Unable to find my handle property in %s on line 15 -bool(false) \ No newline at end of file +bool(false)