Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getTerm.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/getTerm.php
r51331 r52010 16 16 } 17 17 18 function test_invalid_username_password() {18 public function test_invalid_username_password() { 19 19 $result = $this->myxmlrpcserver->wp_getTerm( array( 1, 'username', 'password', 'category', 1 ) ); 20 20 $this->assertIXRError( $result ); … … 22 22 } 23 23 24 function test_empty_taxonomy() {24 public function test_empty_taxonomy() { 25 25 $this->make_user_by_role( 'editor' ); 26 26 … … 31 31 } 32 32 33 function test_invalid_taxonomy() {33 public function test_invalid_taxonomy() { 34 34 $this->make_user_by_role( 'editor' ); 35 35 … … 40 40 } 41 41 42 function test_incapable_user() {42 public function test_incapable_user() { 43 43 $this->make_user_by_role( 'subscriber' ); 44 44 … … 50 50 51 51 52 function test_empty_term() {52 public function test_empty_term() { 53 53 $this->make_user_by_role( 'editor' ); 54 54 … … 59 59 } 60 60 61 function test_invalid_term() {61 public function test_invalid_term() { 62 62 $this->make_user_by_role( 'editor' ); 63 63 … … 68 68 } 69 69 70 function test_valid_term() {70 public function test_valid_term() { 71 71 $this->make_user_by_role( 'editor' ); 72 72
Note: See TracChangeset
for help on using the changeset viewer.