Skip to content

Commit

Permalink
Coding Standards: Fix WPCS issues in tests/media.php.
Browse files Browse the repository at this point in the history
See #50543.

git-svn-id: https://develop.svn.wordpress.org/trunk@48331 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Jul 6, 2020
1 parent 13dee8f commit 818de7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/phpunit/tests/media.php
Expand Up @@ -2827,6 +2827,7 @@ function test_wp_image_file_matches_image_meta() {
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 ) );
Expand Down

0 comments on commit 818de7d

Please sign in to comment.