Make WordPress Core

Changeset 38950


Ignore:
Timestamp:
10/26/2016 07:51:41 AM (7 years ago)
Author:
kovshenin
Message:

Tests: Use correct arguments for wp_newComment XML-RPC method.

Fixes #38454
Props markoheijnen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/xmlrpc/wp/newComment.php

    r35242 r38950  
    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
Note: See TracChangeset for help on using the changeset viewer.