Changeset 54513 for branches/5.9/tests/phpunit/tests/date/wpTimezone.php
- Timestamp:
- 10/14/2022 06:49:30 AM (2 years ago)
- Location:
- branches/5.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.9
-
branches/5.9/tests/phpunit/tests/date/wpTimezone.php
r50291 r54513 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.