diff --git a/core/modules/image/image.post_update.php b/core/modules/image/image.post_update.php index 2355b4f..b83b73b 100644 --- a/core/modules/image/image.post_update.php +++ b/core/modules/image/image.post_update.php @@ -36,7 +36,6 @@ function image_post_update_scale_and_crop_effect_upscale() { if ($effect->getPluginId() === 'image_scale_and_crop') { $image_style->save(); break; - } } } diff --git a/core/modules/image/src/Tests/Update/ScaleAndCropUpscaleUpdateTest.php b/core/modules/image/src/Tests/Update/ScaleAndCropUpscaleUpdateTest.php index fb5b0dc..dbc7ba3 100644 --- a/core/modules/image/src/Tests/Update/ScaleAndCropUpscaleUpdateTest.php +++ b/core/modules/image/src/Tests/Update/ScaleAndCropUpscaleUpdateTest.php @@ -39,7 +39,7 @@ public function testImagePostUpdateScaleAndCropEffectUpscale() { $this->assertFalse($effect_data['upscale']); } else { - $this->fail("Confirming that 'upscale' parameter is updated properly"); + $this->fail("Confirming that 'upscale' parameter is not updated properly"); } }