Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getProfile.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/getProfile.php
r48939 r52010 7 7 class Tests_XMLRPC_wp_getProfile extends WP_XMLRPC_UnitTestCase { 8 8 9 function test_invalid_username_password() {9 public function test_invalid_username_password() { 10 10 $result = $this->myxmlrpcserver->wp_getProfile( array( 1, 'username', 'password' ) ); 11 11 $this->assertIXRError( $result ); … … 13 13 } 14 14 15 function test_subscriber() {15 public function test_subscriber() { 16 16 $subscriber_id = $this->make_user_by_role( 'subscriber' ); 17 17 … … 22 22 } 23 23 24 function test_administrator() {24 public function test_administrator() { 25 25 $administrator_id = $this->make_user_by_role( 'administrator' ); 26 26 … … 31 31 } 32 32 33 function test_arbitrary_fields() {33 public function test_arbitrary_fields() { 34 34 $editor_id = $this->make_user_by_role( 'editor' ); 35 35
Note: See TracChangeset
for help on using the changeset viewer.