mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 03:16:14 +01:00

[BUGFIX] Load realistic, full TypoScript in the controller tests (#1224)

To be closer to a real-world scenario, we also should load the constants
of fluid_styled_content and the constants and setup of our own
extension.
This commit is contained in:
Oliver Klee 2024-04-15 09:24:22 +02:00 committed by GitHub
parent 188ca41922
commit a014ea7efb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,8 +26,13 @@ final class TeaControllerTest extends FunctionalTestCase
$this->importCSVDataSet(__DIR__ . '/Fixtures/Database/SiteStructure.csv');
$this->setUpFrontendRootPage(1, [
'constants' => [
'EXT:fluid_styled_content/Configuration/TypoScript/constants.typoscript',
'EXT:tea/Configuration/TypoScript/constants.typoscript',
],
'setup' => [
'EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript',
'EXT:tea/Configuration/TypoScript/setup.typoscript',
'EXT:tea/Tests/Functional/Controller/Fixtures/TypoScript/Setup/Rendering.typoscript',
],
]);