Changeset 54516 for branches/5.6/tests/phpunit/tests/date/wpTimezone.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/wpTimezone.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/tests/phpunit/tests/date/wpTimezone.php
r48937 r54516 30 30 */ 31 31 public function test_should_return_timezone_string() { 32 update_option( 'timezone_string', 'Europe/ Kiev' );32 update_option( 'timezone_string', 'Europe/Helsinki' ); 33 33 34 $this->assertSame( 'Europe/ Kiev', wp_timezone_string() );34 $this->assertSame( 'Europe/Helsinki', wp_timezone_string() ); 35 35 36 36 $timezone = wp_timezone(); 37 37 38 $this->assertSame( 'Europe/ Kiev', $timezone->getName() );38 $this->assertSame( 'Europe/Helsinki', $timezone->getName() ); 39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.