From c84bb00ab00e738efe22763d22846eb081e50606 Mon Sep 17 00:00:00 2001 From: Oleh Posyniak <oposyniak@magento.com> Date: Mon, 29 Aug 2016 16:49:55 +0300 Subject: [PATCH] MAGETWO-56343: Setup tool check PHP extensions does not check for all needed extensions --- setup/src/Magento/Setup/Model/PhpReadinessCheck.php | 2 +- .../Magento/Setup/Test/Unit/Model/PhpReadinessCheckTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/src/Magento/Setup/Model/PhpReadinessCheck.php b/setup/src/Magento/Setup/Model/PhpReadinessCheck.php index bcf942687a4..74b2afd1419 100644 --- a/setup/src/Magento/Setup/Model/PhpReadinessCheck.php +++ b/setup/src/Magento/Setup/Model/PhpReadinessCheck.php @@ -328,7 +328,7 @@ class PhpReadinessCheck $requiredFunctions = [ [ 'name' => 'imagecreatefromjpeg', - 'message' => 'You must have installed GD library wuth --with-jpeg-dir=DIR option.', + 'message' => 'You must have installed GD library with --with-jpeg-dir=DIR option.', 'helpUrl' => 'http://php.net/manual/en/image.installation.php', ], ]; diff --git a/setup/src/Magento/Setup/Test/Unit/Model/PhpReadinessCheckTest.php b/setup/src/Magento/Setup/Test/Unit/Model/PhpReadinessCheckTest.php index 785674dbae3..a77bd46c79f 100644 --- a/setup/src/Magento/Setup/Test/Unit/Model/PhpReadinessCheckTest.php +++ b/setup/src/Magento/Setup/Test/Unit/Model/PhpReadinessCheckTest.php @@ -223,7 +223,7 @@ class PhpReadinessCheckTest extends \PHPUnit_Framework_TestCase 'error' => false, ], 'missed_function_imagecreatefromjpeg' => [ - 'message' => 'You must have installed GD library wuth --with-jpeg-dir=DIR option.', + 'message' => 'You must have installed GD library with --with-jpeg-dir=DIR option.', 'helpUrl' => 'http://php.net/manual/en/image.installation.php', 'error' => false, ], @@ -268,7 +268,7 @@ class PhpReadinessCheckTest extends \PHPUnit_Framework_TestCase 'error' => true, ], 'missed_function_imagecreatefromjpeg' => [ - 'message' => 'You must have installed GD library wuth --with-jpeg-dir=DIR option.', + 'message' => 'You must have installed GD library with --with-jpeg-dir=DIR option.', 'helpUrl' => 'http://php.net/manual/en/image.installation.php', 'error' => false, ], @@ -313,7 +313,7 @@ class PhpReadinessCheckTest extends \PHPUnit_Framework_TestCase } $expected['data']['missed_function_imagecreatefromjpeg'] = [ - 'message' => 'You must have installed GD library wuth --with-jpeg-dir=DIR option.', + 'message' => 'You must have installed GD library with --with-jpeg-dir=DIR option.', 'helpUrl' => 'http://php.net/manual/en/image.installation.php', 'error' => false, ]; -- GitLab