Changeset 48229 for trunk/tests/phpunit/tests/comment.php
- Timestamp:
- 06/30/2020 11:38:40 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/comment.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment.php
r48228 r48229 31 31 } 32 32 33 function test_wp_update_comment() {33 public function test_wp_update_comment() { 34 34 $post = self::factory()->post->create_and_get( 35 35 array( … … 74 74 * @ticket 30627 75 75 */ 76 function test_wp_update_comment_updates_comment_type() {76 public function test_wp_update_comment_updates_comment_type() { 77 77 $comment_id = self::factory()->comment->create( array( 'comment_post_ID' => self::$post_id ) ); 78 78 … … 91 91 * @ticket 36784 92 92 */ 93 function test_wp_update_comment_updates_comment_meta() {93 public function test_wp_update_comment_updates_comment_meta() { 94 94 $comment_id = self::factory()->comment->create( array( 'comment_post_ID' => self::$post_id ) ); 95 95 wp_update_comment( … … 108 108 * @ticket 30307 109 109 */ 110 function test_wp_update_comment_updates_user_id() {110 public function test_wp_update_comment_updates_user_id() { 111 111 $comment_id = self::factory()->comment->create( array( 'comment_post_ID' => self::$post_id ) ); 112 112 … … 125 125 * @ticket 34954 126 126 */ 127 function test_wp_update_comment_with_no_post_id() {127 public function test_wp_update_comment_with_no_post_id() { 128 128 $comment_id = self::factory()->comment->create( array( 'comment_post_ID' => 0 ) ); 129 129
Note: See TracChangeset
for help on using the changeset viewer.