Changeset 48310 for trunk/tests/phpunit/tests/post/thumbnails.php
- Timestamp:
- 07/05/2020 10:15:40 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/thumbnails.php
r46586 r48310 55 55 56 56 function test_get_post_thumbnail_id() { 57 $this->assert Empty(get_post_thumbnail_id( self::$post ) );58 $this->assert Empty(get_post_thumbnail_id( self::$post->ID ) );59 $this->assert Empty( get_post_thumbnail_id() );57 $this->assertSame( 0, get_post_thumbnail_id( self::$post ) ); 58 $this->assertSame( 0, get_post_thumbnail_id( self::$post->ID ) ); 59 $this->assertFalse( get_post_thumbnail_id() ); 60 60 61 61 set_post_thumbnail( self::$post, self::$attachment_id );
Note: See TracChangeset
for help on using the changeset viewer.