mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Build/Test Tools: Misc test enhancements.
See #51344 git-svn-id: https://develop.svn.wordpress.org/trunk@49606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7,7 +7,7 @@ abstract class WP_Test_REST_TestCase extends WP_UnitTestCase {
|
||||
$response = $response->as_error();
|
||||
}
|
||||
|
||||
$this->assertInstanceOf( 'WP_Error', $response );
|
||||
$this->assertWPError( $response );
|
||||
$this->assertEquals( $code, $response->get_error_code() );
|
||||
|
||||
if ( null !== $status ) {
|
||||
|
||||
Reference in New Issue
Block a user