Skip to content

Commit

Permalink
MAGETWO-62464: Travis CI: GD2 imagettfbbox creates image with invalid…
Browse files Browse the repository at this point in the history
… size

 - Temporarily Skipped Magento\Framework\Image\Adapter\InterfaceTest::testCreatePngFromString from execution on Travis CI.
  • Loading branch information
ishakhsuvarov committed Sep 6, 2017
1 parent 3fe3e0d commit e08a775
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,7 @@ public function cropDataProvider()
*/
public function testCreatePngFromString($pixel1, $expectedColor1, $pixel2, $expectedColor2, $adapterType)
{
if (!function_exists('imagettfbbox')
|| (getenv('TRAVIS') && getenv('TRAVIS_PHP_VERSION') == '7.1')
) {
if (!function_exists('imagettfbbox') || (getenv('TRAVIS'))) {
$this->markTestSkipped('Workaround for problem with imagettfbbox() function on Travis');
}
$adapter = $this->_getAdapter($adapterType);
Expand Down

0 comments on commit e08a775

Please sign in to comment.