diff options
Diffstat (limited to 'tests/PHPUnit/BaseFixture.php')
-rw-r--r-- | tests/PHPUnit/BaseFixture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/BaseFixture.php b/tests/PHPUnit/BaseFixture.php index 917caf36cb..293653b6c2 100644 --- a/tests/PHPUnit/BaseFixture.php +++ b/tests/PHPUnit/BaseFixture.php @@ -265,7 +265,7 @@ abstract class Test_Piwik_BaseFixture extends PHPUnit_Framework_Assert return stristr(php_uname(), self::IMAGES_GENERATED_ONLY_FOR_OS) && version_compare(phpversion(), self::IMAGES_GENERATED_FOR_PHP, '>=') && - stristr($gdInfo['GD Version'], self::IMAGES_GENERATED_FOR_GD); + $gdInfo['GD Version'] == self::IMAGES_GENERATED_FOR_GD; } public static $geoIpDbUrl = 'http://piwik-team.s3.amazonaws.com/GeoIP.dat.gz'; |