Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/editTerm.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/editTerm.php
r51331 r52010 27 27 } 28 28 29 function test_invalid_username_password() {29 public function test_invalid_username_password() { 30 30 $result = $this->myxmlrpcserver->wp_editTerm( array( 1, 'username', 'password', 'category', 1 ) ); 31 31 $this->assertIXRError( $result ); … … 33 33 } 34 34 35 function test_empty_taxonomy() {35 public function test_empty_taxonomy() { 36 36 $this->make_user_by_role( 'subscriber' ); 37 37 … … 42 42 } 43 43 44 function test_invalid_taxonomy() {44 public function test_invalid_taxonomy() { 45 45 $this->make_user_by_role( 'subscriber' ); 46 46 … … 51 51 } 52 52 53 function test_incapable_user() {53 public function test_incapable_user() { 54 54 $this->make_user_by_role( 'subscriber' ); 55 55 … … 60 60 } 61 61 62 function test_term_not_exists() {62 public function test_term_not_exists() { 63 63 $this->make_user_by_role( 'editor' ); 64 64 … … 69 69 } 70 70 71 function test_empty_term() {71 public function test_empty_term() { 72 72 $this->make_user_by_role( 'editor' ); 73 73 … … 78 78 } 79 79 80 function test_empty_term_name() {80 public function test_empty_term_name() { 81 81 $this->make_user_by_role( 'editor' ); 82 82 … … 98 98 } 99 99 100 function test_parent_for_nonhierarchical() {100 public function test_parent_for_nonhierarchical() { 101 101 $this->make_user_by_role( 'editor' ); 102 102 … … 118 118 } 119 119 120 function test_parent_empty() {120 public function test_parent_empty() { 121 121 $this->make_user_by_role( 'editor' ); 122 122 … … 138 138 } 139 139 140 function test_parent_null() {140 public function test_parent_null() { 141 141 $this->make_user_by_role( 'editor' ); 142 142 … … 162 162 } 163 163 164 function test_parent_invalid() {164 public function test_parent_invalid() { 165 165 $this->make_user_by_role( 'editor' ); 166 166 … … 182 182 } 183 183 184 function test_parent_not_existing() {184 public function test_parent_not_existing() { 185 185 $this->make_user_by_role( 'editor' ); 186 186 … … 203 203 } 204 204 205 function test_parent_duplicate_slug() {205 public function test_parent_duplicate_slug() { 206 206 $this->make_user_by_role( 'editor' ); 207 207 … … 224 224 } 225 225 226 function test_edit_all_fields() {226 public function test_edit_all_fields() { 227 227 $this->make_user_by_role( 'editor' ); 228 228
Note: See TracChangeset
for help on using the changeset viewer.