Revert "Issue #2918570 by xjm: Hotfix for ToolkitGdTest take 2"

This reverts commit a303c45eb1.
8.5.x
xjm 2017-11-29 18:13:30 -06:00
parent a303c45eb1
commit fdc8bc3260
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ class ToolkitGdTest extends KernelTestBase {
// Systems using non-bundled GD2 don't have imagerotate. Test if available.
// @todo Remove the version check once
// https://www.drupal.org/project/drupal/issues/2670966 is resolved.
if (function_exists('imagerotate') && (version_compare(phpversion(), '7.0.26') <= 0)) {
if (function_exists('imagerotate') && (version_compare(phpversion(), '7.0.26') < 0)) {
$operations += [
'rotate_5' => [
'function' => 'rotate',