Changeset 58097 for trunk/tests/phpunit/tests/date/getPermalink.php
- Timestamp:
- 05/04/2024 07:23:31 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/getPermalink.php
r56971 r58097 36 36 ); 37 37 38 $this->assertSame( 'http:// example.org/2018/07/22/21/13/23', get_permalink( $post_id ) );38 $this->assertSame( 'http://' . WP_TESTS_DOMAIN . '/2018/07/22/21/13/23', get_permalink( $post_id ) ); 39 39 40 40 // phpcs:ignore WordPress.DateTime.RestrictedFunctions.timezone_change_date_default_timezone_set 41 41 date_default_timezone_set( $timezone ); 42 $this->assertSame( 'http:// example.org/2018/07/22/21/13/23', get_permalink( $post_id ) );42 $this->assertSame( 'http://' . WP_TESTS_DOMAIN . '/2018/07/22/21/13/23', get_permalink( $post_id ) ); 43 43 } 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.