You appear to be a bot. Output may be restricted
Description
Usage
Tests_XMLRPC_wp_newTerm::test_add_term_with_all();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/xmlrpc/wp/newTerm.php
Lines:
1 to 15 of 15
public function test_add_term_with_all() { $this->make_user_by_role( 'editor' ); $taxonomy = array( 'taxonomy' => 'category', 'parent' => self::$parent_term_id, 'name' => 'test_all', 'description' => 'Test all', 'slug' => 'test_all', ); $result = $this->myxmlrpcserver->wp_newTerm( array( 1, 'editor', 'editor', $taxonomy ) ); $this->assertNotIXRError( $result ); $this->assertStringMatchesFormat( '%d', $result ); }