Changeset 48937 for trunk/tests/phpunit/tests/date/getPermalink.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/getPermalink.php
r47118 r48937 34 34 ); 35 35 36 $this->assert Equals( 'http://example.org/2018/07/22/21/13/23', get_permalink( $post_id ) );36 $this->assertSame( 'http://example.org/2018/07/22/21/13/23', get_permalink( $post_id ) ); 37 37 38 38 // phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set 39 39 date_default_timezone_set( $timezone ); 40 $this->assert Equals( 'http://example.org/2018/07/22/21/13/23', get_permalink( $post_id ) );40 $this->assertSame( 'http://example.org/2018/07/22/21/13/23', get_permalink( $post_id ) ); 41 41 } 42 42 }
Note: See TracChangeset
for help on using the changeset viewer.