Skip to content

Commit a9cfd46

Browse files
committed
[TASK] make ci happy
1 parent c177d36 commit a9cfd46

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Classes/Hooks/AssetRenderer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use TYPO3\CMS\Core\Cache\Frontend\FrontendInterface;
2121
use TYPO3\CMS\Core\Http\ApplicationType;
2222
use TYPO3\CMS\Core\Page\PageRenderer;
23-
use TYPO3\CMS\Frontend\Page\PageInformation;
2423

2524
/**
2625
* Hooks into PageRenderer to add CSS / JS / SVG files

Tests/Functional/AssetCollectorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function buildXmlTagBuildsXmlTagForExistingFile(): void
2525
$assetCollector = new AssetCollector();
2626
$assetCollector->addXmlFile('EXT:assetcollector/Resources/Public/Icons/Extension.svg');
2727
$content = $assetCollector->buildInlineXmlTag();
28-
self::assertStringContainsString('<title>EXT:assetcollector</title', $content);
28+
self::assertStringContainsString('<rect id="BG-Color" width="64" height="64" rx="4" ry="4" style="fill:#ba9af6"></rect>', $content);
2929
}
3030

3131
#[Test]

Tests/Functional/Frontend/SvgViewHelperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function scriptTagForInlineCssIsRendered(): void
3030
self::assertStringContainsString($expected, $body);
3131
$expected = '<svg class="tx_assetcollector"';
3232
self::assertStringContainsString($expected, $body);
33-
$expected = '<rect y="0.3" class="st0" width="256" height="256"></rect>';
33+
$expected = '<rect id="BG-Color" width="64" height="64" rx="4" ry="4" style="fill:#ba9af6"></rect>';
3434
self::assertStringContainsString($expected, $body);
3535
}
3636

@@ -44,7 +44,7 @@ public function scriptTagForInlineCssIsRenderedWithNoBodyTag(): void
4444
self::assertStringContainsString($expected, $body);
4545
$expected = '<svg class="tx_assetcollector"';
4646
self::assertStringContainsString($expected, $body);
47-
$expected = '<rect y="0.3" class="st0" width="256" height="256"></rect>';
47+
$expected = '<rect id="BG-Color" width="64" height="64" rx="4" ry="4" style="fill:#ba9af6"></rect>';
4848
self::assertStringContainsString($expected, $body);
4949
}
5050
}

0 commit comments

Comments
 (0)