From 5c0fc10145173c18f4c9d490c17e4a04f1310928 Mon Sep 17 00:00:00 2001 From: "Chhandak.Barua" Date: Wed, 31 Jul 2024 16:37:05 +0530 Subject: [PATCH] ACP2E-3127: imagecreatetruecolor(): Argument #2 () must be greater than 0. Can't upload specific image --- .../testsuite/Magento/Framework/Image/Adapter/InterfaceTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/tests/integration/testsuite/Magento/Framework/Image/Adapter/InterfaceTest.php b/dev/tests/integration/testsuite/Magento/Framework/Image/Adapter/InterfaceTest.php index a7ba8f60b17e5..463a0726fa60c 100644 --- a/dev/tests/integration/testsuite/Magento/Framework/Image/Adapter/InterfaceTest.php +++ b/dev/tests/integration/testsuite/Magento/Framework/Image/Adapter/InterfaceTest.php @@ -296,6 +296,7 @@ public function resizeDataProvider() [$this->_getFixture('image_adapters_test.png'), [100, null]], [$this->_getFixture('image_adapters_test.png'), [null, null]], [$this->_getFixture('image_adapters_test.png'), [-100, -50]], + [$this->_getFixture('image_adapters_test.png'), [200, 0]] ] ); }