Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php
- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/getComment.php
r51331 r52010 34 34 } 35 35 36 function test_invalid_username_password() {36 public function test_invalid_username_password() { 37 37 $result = $this->myxmlrpcserver->wp_getComment( array( 1, 'username', 'password', self::$parent_comment_id ) ); 38 38 $this->assertIXRError( $result ); … … 40 40 } 41 41 42 function test_incapable_user() {42 public function test_incapable_user() { 43 43 $this->make_user_by_role( 'contributor' ); 44 44 … … 48 48 } 49 49 50 function test_valid_comment() {50 public function test_valid_comment() { 51 51 $this->make_user_by_role( 'editor' ); 52 52 … … 84 84 } 85 85 86 function test_valid_child_comment() {86 public function test_valid_child_comment() { 87 87 $this->make_user_by_role( 'editor' ); 88 88 … … 94 94 } 95 95 96 function test_invalid_id() {96 public function test_invalid_id() { 97 97 $this->make_user_by_role( 'editor' ); 98 98
Note: See TracChangeset
for help on using the changeset viewer.