From: Gustavo André dos Santos Lopes Date: Wed, 23 May 2012 12:49:01 +0000 (+0200) Subject: Fixed several ext/intl tests X-Git-Tag: php-5.5.0alpha1~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70e3e627fe63e831135d5526372da446ef251525;p=php Fixed several ext/intl tests --- diff --git a/ext/intl/tests/msgfmt_format_datetime.phpt b/ext/intl/tests/msgfmt_format_datetime.phpt index a79b822b6d..07e7d68f14 100644 --- a/ext/intl/tests/msgfmt_format_datetime.phpt +++ b/ext/intl/tests/msgfmt_format_datetime.phpt @@ -1,5 +1,7 @@ --TEST-- MessageFormatter::format(): DateTime accepted to format dates and times +--INI-- +date.timezone=Atlantic/Azores --SKIPIF-- format(array($dt))); ==DONE== --EXPECTF-- string(%s) "May %d, 2012 %d:%d:42 %s" -==DONE== \ No newline at end of file +==DONE== diff --git a/ext/intl/tests/msgfmt_format_error5.phpt b/ext/intl/tests/msgfmt_format_error5.phpt index 0ea5169d45..052d0efd11 100644 --- a/ext/intl/tests/msgfmt_format_error5.phpt +++ b/ext/intl/tests/msgfmt_format_error5.phpt @@ -1,5 +1,7 @@ --TEST-- MessageFormatter::format() invalid date/time argument +--INI-- +date.timezone=Atlantic/Azores --SKIPIF-- float(1336310569.123) } -==DONE== \ No newline at end of file +==DONE== diff --git a/ext/intl/tests/timezone_fromDateTimeZone_error.phpt b/ext/intl/tests/timezone_fromDateTimeZone_error.phpt index 4d6c153bd2..031882277e 100644 --- a/ext/intl/tests/timezone_fromDateTimeZone_error.phpt +++ b/ext/intl/tests/timezone_fromDateTimeZone_error.phpt @@ -1,5 +1,7 @@ --TEST-- IntlTimeZone::fromDateTimeZone(): argument errors +--INI-- +date.timezone=Atlantic/Azores --SKIPIF--