You appear to be a bot. Output may be restricted
Description
Usage
Tests_XMLRPC_mw_newPost::test_capable_other_author();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/xmlrpc/mw/newPost.php
Lines:
1 to 12 of 12
public function test_capable_other_author() { $this->make_user_by_role( 'editor' ); $other_author_id = $this->make_user_by_role( 'author' ); $post = array( 'title' => 'Test', 'wp_author_id' => $other_author_id, ); $result = $this->myxmlrpcserver->mw_newPost( array( 1, 'editor', 'editor', $post ) ); $this->assertNotIXRError( $result ); }