You appear to be a bot. Output may be restricted
Description
Usage
Tests_XMLRPC_wp_newTerm::test_invalid_taxonomy();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/xmlrpc/wp/newTerm.php
Lines:
1 to 9 of 9
public function test_invalid_taxonomy() { $this->make_user_by_role( 'editor' ); $result = $this->myxmlrpcserver->wp_newTerm( array( 1, 'editor', 'editor', array( 'taxonomy' => 'not_existing' ) ) ); $this->assertIXRError( $result ); $this->assertSame( 403, $result->code ); $this->assertSame( __( 'Invalid taxonomy.' ), $result->message ); }