Ver código fonte

:octocat: skip png test for PHP 7.2

smiley 8 anos atrás
pai
commit
afe3c2526c
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tests/Output/ImageTest.php

+ 1 - 1
tests/Output/ImageTest.php

@@ -48,7 +48,7 @@ class ImageTest extends OutputTestAbstract{
 			$this->markTestSkipped('jpeg test skipped');
 			$this->markTestSkipped('jpeg test skipped');
 		}
 		}
 		// skip png for PHP 7.2 https://travis-ci.org/codemasher/php-qrcode/jobs/292110988
 		// skip png for PHP 7.2 https://travis-ci.org/codemasher/php-qrcode/jobs/292110988
-		else if($type === QRCode::OUTPUT_IMAGE_PNG && PHP_VERSION_ID > 70200){
+		else if($type === QRCode::OUTPUT_IMAGE_PNG && PHP_VERSION_ID >= 70200){
 			$this->markTestSkipped('png test skipped, PHP version: '.PHP_VERSION);
 			$this->markTestSkipped('png test skipped, PHP version: '.PHP_VERSION);
 		}
 		}
 		else{
 		else{