Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/editProfile.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/editProfile.php
r48937 r52010 7 7 class Tests_XMLRPC_wp_editProfile 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_editProfile( array( 1, 'username', 'password', array() ) ); 11 11 $this->assertIXRError( $result ); … … 13 13 } 14 14 15 function test_subscriber_profile() {15 public function test_subscriber_profile() { 16 16 $subscriber_id = $this->make_user_by_role( 'subscriber' ); 17 17 … … 40 40 } 41 41 42 function test_ignore_password_change() {42 public function test_ignore_password_change() { 43 43 $this->make_user_by_role( 'author' ); 44 44 $new_pass = 'newpassword'; … … 55 55 } 56 56 57 function test_ignore_email_change() {57 public function test_ignore_email_change() { 58 58 $editor_id = $this->make_user_by_role( 'editor' ); 59 59 $new_email = 'notaneditor@example.com';
Note: See TracChangeset
for help on using the changeset viewer.