Changeset 52010 for trunk/tests/phpunit/tests/xmlrpc/wp/getTaxonomy.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/getTaxonomy.php
r49856 r52010 6 6 class Tests_XMLRPC_wp_getTaxonomy 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_getTaxonomy( 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_taxonomy_validated() {41 public function test_taxonomy_validated() { 42 42 $this->make_user_by_role( 'editor' ); 43 43 … … 46 46 } 47 47 48 function test_prepare_taxonomy() {48 public function test_prepare_taxonomy() { 49 49 $this->make_user_by_role( 'editor' ); 50 50 … … 65 65 * @ticket 51493 66 66 */ 67 function test_taxonomy_with_menu_field_specified() {67 public function test_taxonomy_with_menu_field_specified() { 68 68 $this->make_user_by_role( 'editor' ); 69 69
Note: See TracChangeset
for help on using the changeset viewer.