Changeset 51331 for trunk/tests/phpunit/tests/media.php
- Timestamp:
- 07/05/2021 05:21:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r51207 r51331 382 382 383 383 $prepped = wp_prepare_attachment_for_js( $post ); 384 $this->assertI nternalType( 'array',$prepped );384 $this->assertIsArray( $prepped ); 385 385 $this->assertSame( 0, $prepped['uploadedTo'] ); 386 386 $this->assertSame( '', $prepped['mime'] ); … … 1165 1165 function test_attachment_url_to_postid_with_empty_url() { 1166 1166 $post_id = attachment_url_to_postid( '' ); 1167 $this->assertI nternalType( 'int',$post_id );1167 $this->assertIsInt( $post_id ); 1168 1168 $this->assertSame( 0, $post_id ); 1169 1169 }
Note: See TracChangeset
for help on using the changeset viewer.