Changeset 40417 for trunk/tests/phpunit/tests/xmlrpc/wp/getTaxonomies.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/getTaxonomies.php
r25002 r40417 8 8 function test_invalid_username_password() { 9 9 $result = $this->myxmlrpcserver->wp_getTaxonomies( array( 1, 'username', 'password' ) ); 10 $this->assertI nstanceOf( 'IXR_Error',$result );10 $this->assertIXRError( $result ); 11 11 $this->assertEquals( 403, $result->code ); 12 12 } … … 16 16 17 17 $result = $this->myxmlrpcserver->wp_getTaxonomies( array( 1, 'editor', 'editor' ) ); 18 $this->assertNotI nstanceOf( 'IXR_Error',$result );18 $this->assertNotIXRError( $result ); 19 19 } 20 20 }
Note: See TracChangeset
for help on using the changeset viewer.