Skip to content

Commit 5c0fc10

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-3127: imagecreatetruecolor(): Argument #2 () must be greater than 0. Can't upload specific image
1 parent ac12fb6 commit 5c0fc10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ public function resizeDataProvider()
296296
[$this->_getFixture('image_adapters_test.png'), [100, null]],
297297
[$this->_getFixture('image_adapters_test.png'), [null, null]],
298298
[$this->_getFixture('image_adapters_test.png'), [-100, -50]],
299+
[$this->_getFixture('image_adapters_test.png'), [200, 0]]
299300
]
300301
);
301302
}

0 commit comments

Comments
 (0)