diff --git a/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php b/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php index 0d09461..6461317 100644 --- a/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php +++ b/core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php @@ -120,6 +120,10 @@ function testStyle() { // Load the saved image style. $style = entity_load('image_style', $style_name); + // Ensure that the image style URI matches our expected path. + $style_uri = $style->uri(); + $style_uri_path = url($style_uri['path'], $style_uri['options']); + $this->assertTrue(strpos($style_uri_path, $style_path) !== FALSE, 'The image style URI is correct.'); // Confirm that all effects on the image style have settings on the effect // edit form that match what was saved.