Skip to content

Commit e08a775

Browse files
committed
MAGETWO-62464: Travis CI: GD2 imagettfbbox creates image with invalid size
- Temporarily Skipped Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString from execution on Travis CI.
1 parent 3fe3e0d commit e08a775

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,7 @@ public function cropDataProvider()
547547
*/
548548
public function testCreatePngFromString($pixel1, $expectedColor1, $pixel2, $expectedColor2, $adapterType)
549549
{
550-
if (!function_exists('imagettfbbox')
551-
|| (getenv('TRAVIS') && getenv('TRAVIS_PHP_VERSION') == '7.1')
552-
) {
550+
if (!function_exists('imagettfbbox') || (getenv('TRAVIS'))) {
553551
$this->markTestSkipped('Workaround for problem with imagettfbbox() function on Travis');
554552
}
555553
$adapter = $this->_getAdapter($adapterType);

0 commit comments

Comments
 (0)