Skip to content

Commit 318929d

Browse files
author
Oleksii Korshenko
committed
MAGETWO-59680: Travis failure: imagettfbbox 2.1.2
- fixed test failure for Travis CI caused by invalid environment for imagettfbbox
1 parent 7fbbf8f commit 318929d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,10 @@ public function cropDataProvider()
547547
*/
548548
public function testCreatePngFromString($pixel1, $expectedColor1, $pixel2, $expectedColor2, $adapterType)
549549
{
550+
if (!function_exists('imagettfbbox')) {
551+
$this->markTestSkipped('Workaround of problem with imagettfbbox function on Travis');
552+
}
553+
550554
$adapter = $this->_getAdapter($adapterType);
551555

552556
/** @var \Magento\Framework\Filesystem\Directory\ReadFactory readFactory */

0 commit comments

Comments
 (0)