Changeset 54512 for branches/6.0/tests/phpunit/tests/date/dateI18n.php
- Timestamp:
- 10/14/2022 05:58:20 AM (2 years ago)
- Location:
- branches/6.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.0
-
branches/6.0/tests/phpunit/tests/date/dateI18n.php
r50291 r54512 12 12 */ 13 13 public function test_should_return_current_time_on_invalid_timestamp() { 14 $timezone = 'Europe/ Kiev';14 $timezone = 'Europe/Helsinki'; 15 15 update_option( 'timezone_string', $timezone ); 16 16 … … 25 25 */ 26 26 public function test_should_handle_zero_timestamp() { 27 $timezone = 'Europe/ Kiev';27 $timezone = 'Europe/Helsinki'; 28 28 update_option( 'timezone_string', $timezone ); 29 29 … … 144 144 */ 145 145 public function test_should_return_wp_timestamp() { 146 update_option( 'timezone_string', 'Europe/ Kiev' );146 update_option( 'timezone_string', 'Europe/Helsinki' ); 147 147 148 148 $datetime = new DateTimeImmutable( 'now', wp_timezone() ); … … 194 194 public function dst_times() { 195 195 return array( 196 'Before DST start' => array( '2019-03-31 02:59:00', 'Europe/ Kiev' ),197 'After DST start' => array( '2019-03-31 04:01:00', 'Europe/ Kiev' ),198 'Before DST end' => array( '2019-10-27 02:59:00', 'Europe/ Kiev' ),199 'After DST end' => array( '2019-10-27 04:01:00', 'Europe/ Kiev' ),196 'Before DST start' => array( '2019-03-31 02:59:00', 'Europe/Helsinki' ), 197 'After DST start' => array( '2019-03-31 04:01:00', 'Europe/Helsinki' ), 198 'Before DST end' => array( '2019-10-27 02:59:00', 'Europe/Helsinki' ), 199 'After DST end' => array( '2019-10-27 04:01:00', 'Europe/Helsinki' ), 200 200 ); 201 201 }
Note: See TracChangeset
for help on using the changeset viewer.