Changeset 54217 for trunk/tests/phpunit/tests/date/dateI18n.php
- Timestamp:
- 09/19/2022 09:18:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/dateI18n.php
r54207 r54217 23 23 */ 24 24 public function test_should_return_current_time_on_invalid_timestamp() { 25 $timezone = 'Europe/ Kiev';25 $timezone = 'Europe/Helsinki'; 26 26 update_option( 'timezone_string', $timezone ); 27 27 … … 36 36 */ 37 37 public function test_should_handle_zero_timestamp() { 38 $timezone = 'Europe/ Kiev';38 $timezone = 'Europe/Helsinki'; 39 39 update_option( 'timezone_string', $timezone ); 40 40 … … 155 155 */ 156 156 public function test_should_return_wp_timestamp() { 157 update_option( 'timezone_string', 'Europe/ Kiev' );157 update_option( 'timezone_string', 'Europe/Helsinki' ); 158 158 159 159 $datetime = new DateTimeImmutable( 'now', wp_timezone() ); … … 205 205 public function dst_times() { 206 206 return array( 207 'Before DST start' => array( '2019-03-31 02:59:00', 'Europe/ Kiev' ),208 'After DST start' => array( '2019-03-31 04:01:00', 'Europe/ Kiev' ),209 'Before DST end' => array( '2019-10-27 02:59:00', 'Europe/ Kiev' ),210 'After DST end' => array( '2019-10-27 04:01:00', 'Europe/ Kiev' ),207 'Before DST start' => array( '2019-03-31 02:59:00', 'Europe/Helsinki' ), 208 'After DST start' => array( '2019-03-31 04:01:00', 'Europe/Helsinki' ), 209 'Before DST end' => array( '2019-10-27 02:59:00', 'Europe/Helsinki' ), 210 'After DST end' => array( '2019-10-27 04:01:00', 'Europe/Helsinki' ), 211 211 ); 212 212 }
Note: See TracChangeset
for help on using the changeset viewer.