Changeset 54364 for trunk/tests/phpunit/tests/rewrite.php
- Timestamp:
- 10/01/2022 03:23:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite.php
r53942 r54364 256 256 } 257 257 258 public function test_url_to_postid_home_has_path() { 259 258 /** 259 * @covers ::url_to_postid 260 */ 261 public function test_url_to_postid_url_has_only_path() { 262 $this->assertSame( 0, url_to_postid( '/example/' ) ); 263 } 264 265 /** 266 * @covers ::url_to_postid 267 */ 268 public function test_url_to_postid_home_has_only_path() { 260 269 update_option( 'home', home_url( '/example/' ) ); 261 270
Note: See TracChangeset
for help on using the changeset viewer.