Changeset 54516 for branches/5.6/tests/phpunit/tests/date/dateI18n.php
- Timestamp:
- 10/14/2022 07:00:08 AM (3 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/date/dateI18n.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/tests/phpunit/tests/date/dateI18n.php
r48952 r54516 11 11 */ 12 12 public function test_should_return_current_time_on_invalid_timestamp() { 13 $timezone = 'Europe/ Kiev';13 $timezone = 'Europe/Helsinki'; 14 14 update_option( 'timezone_string', $timezone ); 15 15 … … 24 24 */ 25 25 public function test_should_handle_zero_timestamp() { 26 $timezone = 'Europe/ Kiev';26 $timezone = 'Europe/Helsinki'; 27 27 update_option( 'timezone_string', $timezone ); 28 28 … … 143 143 */ 144 144 public function test_should_return_wp_timestamp() { 145 update_option( 'timezone_string', 'Europe/ Kiev' );145 update_option( 'timezone_string', 'Europe/Helsinki' ); 146 146 147 147 $datetime = new DateTimeImmutable( 'now', wp_timezone() ); … … 193 193 public function dst_times() { 194 194 return array( 195 'Before DST start' => array( '2019-03-31 02:59:00', 'Europe/ Kiev' ),196 'After DST start' => array( '2019-03-31 04:01:00', 'Europe/ Kiev' ),197 'Before DST end' => array( '2019-10-27 02:59:00', 'Europe/ Kiev' ),198 'After DST end' => array( '2019-10-27 04:01:00', 'Europe/ Kiev' ),195 'Before DST start' => array( '2019-03-31 02:59:00', 'Europe/Helsinki' ), 196 'After DST start' => array( '2019-03-31 04:01:00', 'Europe/Helsinki' ), 197 'Before DST end' => array( '2019-10-27 02:59:00', 'Europe/Helsinki' ), 198 'After DST end' => array( '2019-10-27 04:01:00', 'Europe/Helsinki' ), 199 199 ); 200 200 }
Note: See TracChangeset
for help on using the changeset viewer.