Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/editComment.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/editComment.php
r48937 r52010 6 6 class Tests_XMLRPC_wp_editComment extends WP_XMLRPC_UnitTestCase { 7 7 8 function test_author_can_edit_own_comment() {8 public function test_author_can_edit_own_comment() { 9 9 $author_id = $this->make_user_by_role( 'author' ); 10 10 $post_id = self::factory()->post->create( … … 39 39 } 40 40 41 function test_author_cannot_edit_others_comment() {41 public function test_author_cannot_edit_others_comment() { 42 42 $this->make_user_by_role( 'author' ); 43 43 $editor_id = $this->make_user_by_role( 'editor' ); … … 64 64 } 65 65 66 function test_trash_comment() {66 public function test_trash_comment() { 67 67 $this->make_user_by_role( 'administrator' ); 68 68 $post_id = self::factory()->post->create();
Note: See TracChangeset
for help on using the changeset viewer.