diff --git a/tests/phpunit/tests/media.php b/tests/phpunit/tests/media.php index c1408cc565..4c5c65444f 100644 --- a/tests/phpunit/tests/media.php +++ b/tests/phpunit/tests/media.php @@ -2353,6 +2353,7 @@ EOF; * used in the output of `wp_get_attachment_image()`. * * @ticket 36246 + * @requires function imagejpeg */ function test_wp_get_attachment_image_should_use_wp_get_attachment_metadata() { add_filter( 'wp_get_attachment_metadata', array( $this, '_filter_36246' ), 10, 2 );