diff --git a/tests/phpunit/tests/media.php b/tests/phpunit/tests/media.php index 5b4b5de058..b4787e6342 100644 --- a/tests/phpunit/tests/media.php +++ b/tests/phpunit/tests/media.php @@ -1807,10 +1807,10 @@ EOF; $year = date( 'Y' ); $month = date( 'm' ); - $expected = 'test-image-large.png'; remove_filter( 'wp_get_attachment_metadata', array( $this, '_filter_36246' ) );