WordPress.org

Make WordPress Core

Ticket #38454: 38454.2.diff

File 38454.2.diff, 609 bytes (added by markoheijnen, 4 years ago)
  • tests/phpunit/tests/xmlrpc/wp/newComment.php

     
    1313                $this->assertEquals( 'closed', $post->comment_status );
    1414
    1515                $result = $this->myxmlrpcserver->wp_newComment( array( 1, 'administrator', 'administrator', $post->ID, array(
    16                         'comment_content' => rand_str( 100 ),
    17                         'status' => 'approved'
     16                        'content' => rand_str( 100 ),
    1817                ) ) );
    1918
    2019                $this->assertInstanceOf( 'IXR_Error', $result );