Skip to content

Commit 3b2ceae

Browse files
author
Stanislav Idolov
committed
AC-1356: Integration test crashes php when using GD library 2.3.3
1 parent 27f32e1 commit 3b2ceae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/testsuite/Magento/Framework/Image/Adapter/InterfaceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected function _prepareData($data)
6363
*/
6464
protected function _getFixtureImageSize()
6565
{
66-
return [311, 162];
66+
return [311, 175];
6767
}
6868

6969
/**
@@ -595,7 +595,7 @@ protected function _prepareColor($pixel, $position, $adapter)
595595
break;
596596
case \Magento\Framework\Image\Adapter\AbstractAdapter::POSITION_TOP_LEFT:
597597
$pixel['x'] = 1;
598-
$pixel['y'] = 1;
598+
$pixel['y'] = 10;
599599
break;
600600
case \Magento\Framework\Image\Adapter\AbstractAdapter::POSITION_TOP_RIGHT:
601601
$pixel['x'] = $adapter->getOriginalWidth() - 1;

0 commit comments

Comments
 (0)