Tests: Adjust XML-RPC unit tests for [47160].
Follow-up to [47162]. See #40096. git-svn-id: https://develop.svn.wordpress.org/trunk@47163 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d5572e9f11
commit
63a53c730f
@ -103,7 +103,6 @@ class Tests_XMLRPC_mw_getPost extends WP_XMLRPC_UnitTestCase {
|
||||
$this->assertNotIXRError( $result );
|
||||
|
||||
$this->assertInternalType( 'int', $result['wp_post_thumbnail'] );
|
||||
$this->assertStringMatchesFormat( '%d', $result['wp_post_thumbnail'] );
|
||||
$this->assertEquals( $attachment_id, $result['wp_post_thumbnail'] );
|
||||
|
||||
remove_theme_support( 'post-thumbnails' );
|
||||
|
Loading…
Reference in New Issue
Block a user