Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getTerms.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/getTerms.php
r51367 r52010 6 6 class Tests_XMLRPC_wp_getTerms extends WP_XMLRPC_UnitTestCase { 7 7 8 function test_invalid_username_password() {8 public function test_invalid_username_password() { 9 9 $result = $this->myxmlrpcserver->wp_getTerms( array( 1, 'username', 'password', 'category' ) ); 10 10 $this->assertIXRError( $result ); … … 12 12 } 13 13 14 function test_empty_taxonomy() {14 public function test_empty_taxonomy() { 15 15 $this->make_user_by_role( 'editor' ); 16 16 … … 21 21 } 22 22 23 function test_invalid_taxonomy() {23 public function test_invalid_taxonomy() { 24 24 $this->make_user_by_role( 'editor' ); 25 25 … … 30 30 } 31 31 32 function test_incapable_user() {32 public function test_incapable_user() { 33 33 $this->make_user_by_role( 'subscriber' ); 34 34 … … 39 39 } 40 40 41 function test_valid_terms() {41 public function test_valid_terms() { 42 42 $this->make_user_by_role( 'editor' ); 43 43 … … 63 63 } 64 64 65 function test_custom_taxonomy() {65 public function test_custom_taxonomy() { 66 66 $this->make_user_by_role( 'editor' ); 67 67 … … 105 105 } 106 106 107 function test_term_ordering() {107 public function test_term_ordering() { 108 108 $this->make_user_by_role( 'editor' ); 109 109 … … 131 131 } 132 132 133 function test_terms_search() {133 public function test_terms_search() { 134 134 $this->make_user_by_role( 'editor' ); 135 135
Note: See TracChangeset
for help on using the changeset viewer.