Changeset 47122 for trunk/tests/phpunit/tests/post/getPageUri.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/getPageUri.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPageUri.php
r46586 r47122 41 41 ); 42 42 43 // check the parent for good measure43 // Check the parent for good measure. 44 44 $this->assertEquals( 'parent', get_page_uri( $parent_id ) ); 45 45 46 // try the child normally46 // Try the child normally. 47 47 $this->assertEquals( 'parent/child', get_page_uri( $child_id ) ); 48 48 49 // now delete the parent from the database and check49 // Now delete the parent from the database and check. 50 50 wp_delete_post( $parent_id, true ); 51 51 $this->assertEquals( 'child', get_page_uri( $child_id ) );
Note: See TracChangeset
for help on using the changeset viewer.