Skip to content

Commit

Permalink
[TASK] Fix frontend test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsteeb committed Jul 3, 2024
1 parent a389b52 commit 1606bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Functional/Frontend/TagRenderingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function simpleImageAsWebp(): void
public function simpleImageWithOnlyWebp(): void
{
$this->importCSVDataSet(__DIR__ . '/Fixtures/simple_image_with_only_webp_option.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$response = $this->executeFrontendSubRequest(new InternalRequest('http://localhost/'));
$body = (string)$response->getBody();
$expected = '<img alt="Testimage 400px width" src="/typo3temp/assets/_processed_/a/2/csm_Picture_cfb567934c.webp" width="400" height="200" loading="lazy" />';
self::assertStringContainsString($this->anonymouseProcessdImage($expected), $this->anonymouseProcessdImage($body));
Expand Down

0 comments on commit 1606bc9

Please sign in to comment.