Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getUsers.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/getUsers.php
r51943 r52010 7 7 class Tests_XMLRPC_wp_getUsers extends WP_XMLRPC_UnitTestCase { 8 8 9 function test_invalid_username_password() {9 public function test_invalid_username_password() { 10 10 $results = $this->myxmlrpcserver->wp_getUsers( array( 1, 'username', 'password' ) ); 11 11 $this->assertIXRError( $results ); … … 13 13 } 14 14 15 function test_incapable_user() {15 public function test_incapable_user() { 16 16 $this->make_user_by_role( 'subscriber' ); 17 17 … … 21 21 } 22 22 23 function test_capable_user() {23 public function test_capable_user() { 24 24 $this->make_user_by_role( 'administrator' ); 25 25 … … 43 43 } 44 44 45 function test_invalid_role() {45 public function test_invalid_role() { 46 46 $administrator_id = $this->make_user_by_role( 'administrator' ); 47 47 if ( is_multisite() ) { … … 58 58 * @expectedDeprecated WP_User_Query 59 59 */ 60 function test_role_filter() {60 public function test_role_filter() { 61 61 $author_id = $this->make_user_by_role( 'author' ); 62 62 $editor_id = $this->make_user_by_role( 'editor' ); … … 80 80 } 81 81 82 function test_paging_filters() {82 public function test_paging_filters() { 83 83 $administrator_id = $this->make_user_by_role( 'administrator' ); 84 84 if ( is_multisite() ) { … … 109 109 } 110 110 111 function test_order_filters() {111 public function test_order_filters() { 112 112 $this->make_user_by_role( 'administrator' ); 113 113
Note: See TracChangeset
for help on using the changeset viewer.