diff options
author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-04 00:02:35 +0200 |
---|---|---|
committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-04 00:02:35 +0200 |
commit | 758f0686d41cd39176f5055c50f0b094580cbbf0 (patch) | |
tree | bea7b511738d6818cc303ff56a6bd96507357c4c /ext/intl/tests/dateformat_get_timezone_id.phpt | |
parent | eb346ef0f419b90739aadfb6cc7b7436c5b521d9 (diff) | |
download | php-git-758f0686d41cd39176f5055c50f0b094580cbbf0.tar.gz |
Added and fixed tests given eb346ef
Diffstat (limited to 'ext/intl/tests/dateformat_get_timezone_id.phpt')
-rwxr-xr-x | ext/intl/tests/dateformat_get_timezone_id.phpt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ext/intl/tests/dateformat_get_timezone_id.phpt b/ext/intl/tests/dateformat_get_timezone_id.phpt index 80cbdbbf0f..a9701c3868 100755 --- a/ext/intl/tests/dateformat_get_timezone_id.phpt +++ b/ext/intl/tests/dateformat_get_timezone_id.phpt @@ -1,5 +1,8 @@ --TEST-- datefmt_get_timezone_id_code() +--INI-- +date.timezone=Atlantic/Azores +intl.error_level=E_WARNING --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> --FILE-- @@ -14,8 +17,8 @@ function ut_main() { $timezone_id_arr = array ( 'America/New_York', - 'America/Los_Angeles', - 'America/Dallas' + 'US/Pacific', + 'US/Central' ); $res_str = ''; @@ -42,8 +45,8 @@ ut_run(); Creating IntlDateFormatter with timezone_id = America/New_York After call to get_timezone_id : timezone_id= America/New_York -Creating IntlDateFormatter with timezone_id = America/Los_Angeles -After call to get_timezone_id : timezone_id= America/Los_Angeles +Creating IntlDateFormatter with timezone_id = US/Pacific +After call to get_timezone_id : timezone_id= US/Pacific -Creating IntlDateFormatter with timezone_id = America/Dallas -After call to get_timezone_id : timezone_id= America/Dallas +Creating IntlDateFormatter with timezone_id = US/Central +After call to get_timezone_id : timezone_id= US/Central |