Loading core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php +1 −10 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * crop, scale and crop, and desaturate. * * @group Image * @requires extension gd */ class ToolkitGdTest extends KernelTestBase { Loading Loading @@ -65,16 +66,6 @@ protected function setUp(): void { $this->imageFactory = $this->container->get('image.factory'); } protected function checkRequirements() { // GD2 support is available. if (!function_exists('imagegd2')) { return [ 'Image manipulations for the GD toolkit cannot run because the GD toolkit is not available.', ]; } return parent::checkRequirements(); } /** * Function to compare two colors by RGBa. */ Loading Loading
core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php +1 −10 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * crop, scale and crop, and desaturate. * * @group Image * @requires extension gd */ class ToolkitGdTest extends KernelTestBase { Loading Loading @@ -65,16 +66,6 @@ protected function setUp(): void { $this->imageFactory = $this->container->get('image.factory'); } protected function checkRequirements() { // GD2 support is available. if (!function_exists('imagegd2')) { return [ 'Image manipulations for the GD toolkit cannot run because the GD toolkit is not available.', ]; } return parent::checkRequirements(); } /** * Function to compare two colors by RGBa. */ Loading