From 05bebd115236915d8f30aa6d6d6a817dc238c0d3 Mon Sep 17 00:00:00 2001 From: David Steeb Date: Thu, 10 Oct 2024 14:22:03 +0200 Subject: [PATCH] [TASK] Update tests --- Tests/Functional/Frontend/TagRenderingTest.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Tests/Functional/Frontend/TagRenderingTest.php b/Tests/Functional/Frontend/TagRenderingTest.php index 3519947..4dec0d3 100644 --- a/Tests/Functional/Frontend/TagRenderingTest.php +++ b/Tests/Functional/Frontend/TagRenderingTest.php @@ -102,7 +102,7 @@ public function simpleImageWithRetinaAndWebpOption(): void $response = $this->executeFrontendSubRequest(new InternalRequest('http://localhost/')); $body = (string)$response->getBody(); $expected = ' - + Testimage 400px width with retina and addWebp option '; $expected = implode('', GeneralUtility::trimExplode("\n", $expected)); @@ -119,7 +119,7 @@ public function imageWithMultipleSizes(): void $body = (string)$response->getBody(); $expected = ' - + Testimage with 400px image size, 800px image size for screens > 1024px '; $expected = implode('', GeneralUtility::trimExplode("\n", $expected)); @@ -136,7 +136,7 @@ public function imageWithTwoSizesAndRetinaOption(): void $body = (string)$response->getBody(); $expected = ' - + Testimage with 400px image size, 800px image size for screens > 1024px, with retina '; $expected = implode('', GeneralUtility::trimExplode("\n", $expected)); @@ -152,7 +152,7 @@ public function singleImageWithMultipleImageSizesAndTwoBreakpoints(): void $response = $this->executeFrontendSubRequest(new InternalRequest('http://localhost/')); $body = (string)$response->getBody(); $expected = ' - + Testimage with 400px image size, with multiple images as a srcset, including webp image format with fallback '; $expected = implode('', GeneralUtility::trimExplode("\n", $expected)); @@ -187,9 +187,9 @@ public function imageWithSrcsetAndASizesValueWithWebpOption(): void $body = (string)$response->getBody(); $expected = ' - + - + Testimage with 400px image size, 800px image size for screens > 1024px, with multiple images as a srcset, including webp image format with fallback '; @@ -251,9 +251,9 @@ public function imageWithMultipleSourcesWithWebPOption(): void $body = (string)$response->getBody(); $expected = ' - + - + Testimage with 400px image size, 800px image size with rotated image for screens > 1024px, with webP option ';