Ticket #38454: 38454.diff
| File 38454.diff, 616 bytes (added by , 9 years ago) |
|---|
-
tests/phpunit/tests/xmlrpc/wp/newComment.php
13 13 $this->assertEquals( 'closed', $post->comment_status ); 14 14 15 15 $result = $this->myxmlrpcserver->wp_newComment( array( 1, 'administrator', 'administrator', $post->ID, array( 16 'comment_content' => rand_str( 100 ), 17 'status' => 'approved' 16 'comment_content' => rand_str( 100 ) 18 17 ) ) ); 19 18 20 19 $this->assertInstanceOf( 'IXR_Error', $result );