Changeset 54512 for branches/6.0/tests/phpunit/tests/date/wpTimezone.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/wpTimezone.php
r50291 r54512 32 32 */ 33 33 public function test_should_return_timezone_string() { 34 update_option( 'timezone_string', 'Europe/ Kiev' );34 update_option( 'timezone_string', 'Europe/Helsinki' ); 35 35 36 $this->assertSame( 'Europe/ Kiev', wp_timezone_string() );36 $this->assertSame( 'Europe/Helsinki', wp_timezone_string() ); 37 37 38 38 $timezone = wp_timezone(); 39 39 40 $this->assertSame( 'Europe/ Kiev', $timezone->getName() );40 $this->assertSame( 'Europe/Helsinki', $timezone->getName() ); 41 41 } 42 42
Note: See TracChangeset
for help on using the changeset viewer.