Skip to content
Snippets Groups Projects
Unverified Commit cb858a9c authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2861376 by chiranjeeb2410, tvb, vacho, Mile23, mr.baileys, dawehner,...

Issue #2861376 by chiranjeeb2410, tvb, vacho, Mile23, mr.baileys, dawehner, mondrake: ToolkitGdTest uses checkRequirements() incorrectly
parent 0415f597
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
* crop, scale and crop, and desaturate.
*
* @group Image
* @requires extension gd
*/
class ToolkitGdTest extends KernelTestBase {
......@@ -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.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment