WordPress.org

Make WordPress Core

Changeset 34633


Ignore:
Timestamp:
09/27/2015 06:29:53 PM (4 years ago)
Author:
wonderboymusic
Message:

After [34629], update unit tests to reflect this change.

See #32093.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/post/thumbnails.php

    r34468 r34633  
    7777        set_post_thumbnail( $this->post, $this->attachment_id );
    7878
    79         $expected = wp_get_attachment_image( $this->attachment_id, 'post-thumbnail', false, array( 'class' => 'attachment-post-thumbnail wp-post-image' ) );
     79        $expected = wp_get_attachment_image( $this->attachment_id, 'post-thumbnail', false, array(
     80            'class' => 'attachment-post-thumbnail size-post-thumbnail wp-post-image'
     81        ) );
    8082
    8183        $this->assertEquals( $expected, get_the_post_thumbnail( $this->post ) );
     
    103105        set_post_thumbnail( $this->post, $this->attachment_id );
    104106
    105         $expected = wp_get_attachment_image( $this->attachment_id, 'post-thumbnail', false, array( 'class' => 'attachment-post-thumbnail wp-post-image' ) );
     107        $expected = wp_get_attachment_image( $this->attachment_id, 'post-thumbnail', false, array(
     108            'class' => 'attachment-post-thumbnail size-post-thumbnail wp-post-image'
     109        ) );
    106110
    107111        ob_start();
Note: See TracChangeset for help on using the changeset viewer.