Opened 8 years ago
Closed 8 years ago
#40423 closed enhancement (fixed)
Introduce assertNotIXRError() for clearer XMLRPC test failure messages
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.8 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
$this->assertNotInstanceOf( 'IXR_Error', $result )
is used in many of the XMLRPC tests. Unfortunately this means that when an IXR_Error
is returned, its error message isn't exposed.
For WP_Error
handling we have the assertNotWPError()
method which helpfully uses the error message in the failure message when a WP_Error
is returned. The same pattern should be introduced for IXR errors.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
In 40417: