diff --git a/tests/phpunit/tests/widgets/media-image-widget.php b/tests/phpunit/tests/widgets/media-image-widget.php index a89c8ad6b6..fc04e9adcc 100644 --- a/tests/phpunit/tests/widgets/media-image-widget.php +++ b/tests/phpunit/tests/widgets/media-image-widget.php @@ -408,6 +408,7 @@ class Test_WP_Widget_Media_Image extends WP_UnitTestCase { * Test render_media method. * * @covers WP_Widget_Media_Image::render_media + * @requires function imagejpeg */ function test_render_media() { $widget = new WP_Widget_Media_Image();