Commit:    70e3e627fe63e831135d5526372da446ef251525
Author:    Gustavo André dos Santos Lopes <cataphr...@php.net>         Wed, 23 
May 2012 14:49:01 +0200
Parents:   2eb069aa48c63a59aa8ed579eebe0e6e30b2833a
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=70e3e627fe63e831135d5526372da446ef251525

Log:
Fixed several ext/intl tests

Changed paths:
  M  ext/intl/tests/msgfmt_format_datetime.phpt
  M  ext/intl/tests/msgfmt_format_error5.phpt
  M  ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt
  M  ext/intl/tests/msgfmt_millisecond_dates.phpt
  M  ext/intl/tests/timezone_fromDateTimeZone_error.phpt


Diff:
diff --git a/ext/intl/tests/msgfmt_format_datetime.phpt 
b/ext/intl/tests/msgfmt_format_datetime.phpt
index a79b822..07e7d68 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--
 <?php
 if (!extension_loaded('intl'))
@@ -23,4 +25,4 @@ var_dump($mf->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 0ea5169..052d0ef 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--
 <?php
 if (!extension_loaded('intl'))
diff --git a/ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt 
b/ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt
index c52c359..299ae48 100644
--- a/ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt
+++ b/ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt
@@ -1,5 +1,7 @@
 --TEST--
 MessageFormatter::format(): simple types handling with numeric strings
+--INI--
+date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
@@ -53,4 +55,4 @@ string(%d) "
        ordinal                 1,336,317,966th
        duration                371,199:26:06
        "
-==DONE==
\ No newline at end of file
+==DONE==
diff --git a/ext/intl/tests/msgfmt_millisecond_dates.phpt 
b/ext/intl/tests/msgfmt_millisecond_dates.phpt
index 6d6cf20..7dd0514 100644
--- a/ext/intl/tests/msgfmt_millisecond_dates.phpt
+++ b/ext/intl/tests/msgfmt_millisecond_dates.phpt
@@ -6,9 +6,7 @@ if (!extension_loaded('intl'))
        die('skip intl extension not enabled');
 --FILE--
 <?php
-exec('pause');
 ini_set("intl.error_level", E_WARNING);
-//ini_set("intl.default_locale", "nl");
 date_default_timezone_set('Europe/Lisbon'); //ignored for now, see bug #58756
 
 $d = 1336308097.123;
@@ -28,4 +26,4 @@ array(1) {
   [0]=>
   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 4d6c153..0318822 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--
 <?php
 if (!extension_loaded('intl'))


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to