Changeset 40417 for trunk/tests/phpunit/tests/xmlrpc/wp/editComment.php
- Timestamp:
- 04/12/2017 02:58:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/xmlrpc/wp/editComment.php
r38938 r40417 23 23 'status' => 'hold' 24 24 ) ) ); 25 $this->assertNotI nstanceOf( 'IXR_Error',$result );25 $this->assertNotIXRError( $result ); 26 26 $this->assertTrue( $result ); 27 27 } … … 43 43 44 44 $result = $this->myxmlrpcserver->wp_editComment( array( 1, 'author', 'author', $comment_id, array( 'status' => 'hold' ) ) ); 45 $this->assertI nstanceOf( 'IXR_Error',$result );45 $this->assertIXRError( $result ); 46 46 $this->assertEquals( 403, $result->code ); 47 47 $this->assertEquals( __( 'Sorry, you are not allowed to moderate or edit this comment.' ), $result->message );
Note: See TracChangeset
for help on using the changeset viewer.