Make WordPress Core


Ignore:
Timestamp:
04/27/2012 12:10:27 AM (10 years ago)
Author:
ryan
Message:

Update post thumbnail tests to reflects changes made for #WP20409. Props maxcutler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-testcase/test-xmlrpc-api/test_mw_getPost.php

    r684 r699  
    8989
    9090        $this->assertEquals( '', $result['wp_post_thumbnail'] );
    91         $this->assertEquals( '', $result['wp_post_thumbnail_url'] );
    9291
    9392        remove_theme_support( 'post-thumbnails' );
     
    121120        $this->assertEquals( $attachment_id, $result['wp_post_thumbnail'] );
    122121
    123         $this->assertInternalType( 'string', $result['wp_post_thumbnail_url'] );
    124         $this->assertEquals( wp_get_attachment_url( $attachment_id ), $result['wp_post_thumbnail_url'] );
    125 
    126122        delete_post_thumbnail( $this->post_id );
    127123        remove_theme_support( 'post-thumbnails' );
Note: See TracChangeset for help on using the changeset viewer.