diff --git a/tests/phpunit/tests/xmlrpc/wp/newComment.php b/tests/phpunit/tests/xmlrpc/wp/newComment.php index eb0f3b7648..2347f0bd1b 100644 --- a/tests/phpunit/tests/xmlrpc/wp/newComment.php +++ b/tests/phpunit/tests/xmlrpc/wp/newComment.php @@ -13,8 +13,7 @@ class Tests_XMLRPC_wp_newComment extends WP_XMLRPC_UnitTestCase { $this->assertEquals( 'closed', $post->comment_status ); $result = $this->myxmlrpcserver->wp_newComment( array( 1, 'administrator', 'administrator', $post->ID, array( - 'comment_content' => rand_str( 100 ), - 'status' => 'approved' + 'content' => rand_str( 100 ), ) ) ); $this->assertInstanceOf( 'IXR_Error', $result );