Changeset 52010 for trunk/tests/phpunit/tests/post/getPageUri.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPageUri.php
r49327 r52010 9 9 * @ticket 22883 10 10 */ 11 function test_get_page_uri_with_stdclass_post_object() {11 public function test_get_page_uri_with_stdclass_post_object() { 12 12 $post_id = self::factory()->post->create( array( 'post_name' => 'get-page-uri-post-name' ) ); 13 13 … … 23 23 * @ticket 24491 24 24 */ 25 function test_get_page_uri_with_nonexistent_post() {25 public function test_get_page_uri_with_nonexistent_post() { 26 26 global $wpdb; 27 27 $post_id = $wpdb->get_var( "SELECT MAX(ID) FROM $wpdb->posts" ) + 1; … … 32 32 * @ticket 15963 33 33 */ 34 function test_get_post_uri_check_orphan() {34 public function test_get_post_uri_check_orphan() { 35 35 $parent_id = self::factory()->post->create( array( 'post_name' => 'parent' ) ); 36 36 $child_id = self::factory()->post->create( … … 55 55 * @ticket 36174 56 56 */ 57 function test_get_page_uri_with_a_draft_parent_with_empty_slug() {57 public function test_get_page_uri_with_a_draft_parent_with_empty_slug() { 58 58 $parent_id = self::factory()->post->create( array( 'post_name' => 'parent' ) ); 59 59 $child_id = self::factory()->post->create( … … 78 78 * @ticket 26284 79 79 */ 80 function test_get_page_uri_without_argument() {80 public function test_get_page_uri_without_argument() { 81 81 $post_id = self::factory()->post->create( 82 82 array(
Note: See TracChangeset
for help on using the changeset viewer.