Coding Standards: Fix WPCS issues in tests/media.php
.
See #50543. git-svn-id: https://develop.svn.wordpress.org/trunk@48331 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
13dee8f174
commit
818de7d83e
@ -2827,6 +2827,7 @@ EOF;
|
||||
function test_wp_image_file_matches_image_meta_no_subsizes() {
|
||||
$image_meta = wp_get_attachment_metadata( self::$large_id );
|
||||
$image_src = wp_get_attachment_image_url( self::$large_id, 'full' );
|
||||
|
||||
$image_meta['sizes'] = array();
|
||||
|
||||
$this->assertTrue( wp_image_file_matches_image_meta( $image_src, $image_meta ) );
|
||||
|
Loading…
Reference in New Issue
Block a user