Changeset 40417 for trunk/tests/phpunit/tests/xmlrpc/wp/editProfile.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/editProfile.php
r39174 r40417 9 9 function test_invalid_username_password() { 10 10 $result = $this->myxmlrpcserver->wp_editProfile( array( 1, 'username', 'password', array() ) ); 11 $this->assertI nstanceOf( 'IXR_Error',$result );11 $this->assertIXRError( $result ); 12 12 $this->assertEquals( 403, $result->code ); 13 13 } … … 26 26 ); 27 27 $result = $this->myxmlrpcserver->wp_editProfile( array( 1, 'subscriber', 'subscriber', $new_data ) ); 28 $this->assertNotI nstanceOf( 'IXR_Error',$result );28 $this->assertNotIXRError( $result ); 29 29 $this->assertTrue( $result ); 30 30 … … 46 46 47 47 $result = $this->myxmlrpcserver->wp_editProfile( array( 1, 'author', 'author', $new_data ) ); 48 $this->assertNotI nstanceOf( 'IXR_Error',$result );48 $this->assertNotIXRError( $result ); 49 49 $this->assertTrue( $result ); 50 50 … … 61 61 62 62 $result = $this->myxmlrpcserver->wp_editProfile( array( 1, 'editor', 'editor', $new_data ) ); 63 $this->assertNotI nstanceOf( 'IXR_Error',$result );63 $this->assertNotIXRError( $result ); 64 64 $this->assertTrue( $result ); 65 65
Note: See TracChangeset
for help on using the changeset viewer.