WordPress.org

Make WordPress Core

Changeset 34664


Ignore:
Timestamp:
09/28/2015 04:27:18 PM (4 years ago)
Author:
johnbillion
Message:

Avoid using assertNotFalse() which is only available in phpunit >= 4.0.0

See #33070

File:
1 edited

Legend:

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

    r34663 r34664  
    142142        set_post_thumbnail( $post, $this->attachment_id );
    143143
    144         $this->assertNotFalse( get_the_post_thumbnail_url( $post->ID ) );
     144        $this->assertTrue( false !== get_the_post_thumbnail_url( $post->ID ) );
    145145
    146146        $deleted = wp_delete_post( $post->ID, true );
Note: See TracChangeset for help on using the changeset viewer.