]> granicus.if.org Git - php/commitdiff
Fixed several ext/intl tests
authorGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 23 May 2012 12:49:01 +0000 (14:49 +0200)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 23 May 2012 12:49:01 +0000 (14:49 +0200)
ext/intl/tests/msgfmt_format_datetime.phpt
ext/intl/tests/msgfmt_format_error5.phpt
ext/intl/tests/msgfmt_format_simple_types_numeric_strings.phpt
ext/intl/tests/msgfmt_millisecond_dates.phpt
ext/intl/tests/timezone_fromDateTimeZone_error.phpt

index a79b822b6d31588ab52ce58b4eaabb630b255f19..07e7d68f144cdf9b0d593c15a2c2a33763fade6c 100644 (file)
@@ -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==
index 0ea5169d456d1ef3e0d427760282e7a0da727412..052d0efd116ff5b6783e9b8ff7465d7746d0b936 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 MessageFormatter::format() invalid date/time argument
+--INI--
+date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))
index c52c359807e4977c6b543d0757f1b5049168a016..299ae483a49b4125c447456be4f4b5a62fc3deaa 100644 (file)
@@ -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==
index 6d6cf204915c8bcb01f0aa4dc37581e8def0f5fb..7dd051426b2721d094b3b29f88885d5ea3646ab3 100644 (file)
@@ -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==
index 4d6c153bd2ef5312347546133e362ac2fc37c088..031882277e6d3c064e365c486bc004c0dd4897e0 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--
 IntlTimeZone::fromDateTimeZone(): argument errors
+--INI--
+date.timezone=Atlantic/Azores
 --SKIPIF--
 <?php
 if (!extension_loaded('intl'))