Changeset 48937 for trunk/tests/phpunit/tests/date/wpTimezone.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/wpTimezone.php
r46586 r48937 19 19 update_option( 'gmt_offset', $gmt_offset ); 20 20 21 $this->assert Equals( $tz_name, wp_timezone_string() );21 $this->assertSame( $tz_name, wp_timezone_string() ); 22 22 23 23 $timezone = wp_timezone(); 24 24 25 $this->assert Equals( $tz_name, $timezone->getName() );25 $this->assertSame( $tz_name, $timezone->getName() ); 26 26 } 27 27 … … 32 32 update_option( 'timezone_string', 'Europe/Kiev' ); 33 33 34 $this->assert Equals( 'Europe/Kiev', wp_timezone_string() );34 $this->assertSame( 'Europe/Kiev', wp_timezone_string() ); 35 35 36 36 $timezone = wp_timezone(); 37 37 38 $this->assert Equals( 'Europe/Kiev', $timezone->getName() );38 $this->assertSame( 'Europe/Kiev', $timezone->getName() ); 39 39 } 40 40
Note: See TracChangeset
for help on using the changeset viewer.