diff --git a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php index c99ee3084a..d0bee328f6 100644 --- a/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php +++ b/core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php @@ -493,7 +493,7 @@ public function testResponsiveImageFieldFormattersMultipleSources() { $image_uri = File::load($node->{$field_name}->target_id)->getFileUri(); $medium_transform_url = $this->fileUrlGenerator->transformRelative($medium_style->buildUrl($image_uri)); $large_transform_url = $this->fileUrlGenerator->transformRelative($large_style->buildUrl($image_uri)); - $this->assertSession()->responseMatches('/\w+/'); + $this->assertSession()->responseMatches('/\w+/'); $this->responsiveImgStyle // Test the output of an empty media query.