WordPress.org

Make WordPress Core

Ticket #33070: 33070.patch

File 33070.patch, 562 bytes (added by tyxla, 4 years ago)

Removing unnecessary var_dump() in test_get_the_post_thumbnail_url()

  • tests/phpunit/tests/post/thumbnails.php

     
    120120
    121121                set_post_thumbnail( $this->post, $this->attachment_id );
    122122
    123                 var_dump( get_the_post_thumbnail_url( $this->post ) );
    124 
    125123                $this->assertEquals( '', get_the_post_thumbnail_url() );
    126124                $this->assertEquals( wp_get_attachment_url( $this->attachment_id ), get_the_post_thumbnail_url( $this->post ) );
    127125