Skip to content

Commit

Permalink
Merge pull request #94 from b13/task/ci
Browse files Browse the repository at this point in the history
[TASK] TYPO3 12.4 LTS
  • Loading branch information
achimfritz authored May 4, 2023
2 parents 140236e + 1eb5703 commit 251ae22
Show file tree
Hide file tree
Showing 17 changed files with 75 additions and 85 deletions.
3 changes: 0 additions & 3 deletions Build/phpstan10.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ parameters:
- %currentWorkingDirectory%/Tests

ignoreErrors:
-
message: '#Constant ORIGINAL_ROOT not found.#'
path: %currentWorkingDirectory%/Tests
-
message: '#Call to an undefined method B13\\Menus\\ContentObject\\.*ContentObject::setContentObjectRenderer\(\).#'
path: %currentWorkingDirectory%/Classes/ContentObject/*
Expand Down
5 changes: 0 additions & 5 deletions Build/phpstan11.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ parameters:
paths:
- %currentWorkingDirectory%/Classes
- %currentWorkingDirectory%/Tests

ignoreErrors:
-
message: '#Constant ORIGINAL_ROOT not found.#'
path: %currentWorkingDirectory%/Tests
3 changes: 0 additions & 3 deletions Build/phpstan12.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ parameters:
- %currentWorkingDirectory%/Tests

ignoreErrors:
-
message: '#Constant ORIGINAL_ROOT not found.#'
path: %currentWorkingDirectory%/Tests
-
message: '#Call to an undefined static method TYPO3\\CMS\\Frontend\\ContentObject\\AbstractContentObject::__construct\(\).#'
path: %currentWorkingDirectory%/Classes/ContentObject/*
Expand Down
14 changes: 7 additions & 7 deletions Build/testing-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ services:
fi
composer prepare-tests-10 && composer prepare-tests
else
composer remove typo3/cms* --dev --no-progress --no-interaction && composer config --no-interaction --no-plugins allow-plugins.sbuerk/typo3-cmscomposerinstallers-testingframework-bridge true && composer require typo3/cms-install:12.*.*@dev typo3/cms-fluid-styled-content:12.*.*@dev sbuerk/typo3-cmscomposerinstallers-testingframework-bridge:^0.0.1 --dev -W --no-progress --no-interaction
composer require typo3/cms-install:^12.4 typo3/cms-fluid-styled-content:^12.4 --dev -W --no-progress --no-interaction
composer prepare-tests
fi
"
Expand Down Expand Up @@ -147,7 +147,7 @@ services:
typo3DatabaseUsername: root
typo3DatabasePassword: funcp
typo3DatabaseHost: mariadb10
working_dir: ${ROOT_DIR}/.Build
working_dir: ${ROOT_DIR}
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
Expand All @@ -161,13 +161,13 @@ services:
php -v | grep '^PHP';
if [ ${PHP_XDEBUG_ON} -eq 0 ]; then
export XDEBUG_MODE=\"off\"
bin/phpunit -c Web/typo3conf/ext/menus/Build/phpunit/FunctionalTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
.Build/bin/phpunit -c Build/phpunit/FunctionalTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
else
DOCKER_HOST=`route -n | awk '/^0.0.0.0/ { print $$2 }'`
export XDEBUG_MODE=\"debug,develop\" \
XDEBUG_TRIGGER=\"foo\" \
XDEBUG_CONFIG=\"client_port=${PHP_XDEBUG_PORT} client_host=$${DOCKER_HOST}\"
bin/phpunit -c Web/typo3conf/ext/menus/Build/phpunit/FunctionalTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
.Build/bin/phpunit -c Build/phpunit/FunctionalTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
fi
"
lint:
Expand Down Expand Up @@ -213,7 +213,7 @@ services:
- ${HOST_HOME}:${HOST_HOME}
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
working_dir: ${ROOT_DIR}/.Build
working_dir: ${ROOT_DIR}
command: >
/bin/sh -c "
if [ ${SCRIPT_VERBOSE} -eq 1 ]; then
Expand All @@ -222,12 +222,12 @@ services:
php -v | grep '^PHP';
if [ ${PHP_XDEBUG_ON} -eq 0 ]; then
XDEBUG_MODE=\"off\" \
bin/phpunit -c Web/typo3conf/ext/menus/Build/phpunit/UnitTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
.Build/bin/phpunit -c Build/phpunit/UnitTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
else
DOCKER_HOST=`route -n | awk '/^0.0.0.0/ { print $$2 }'`
XDEBUG_MODE=\"debug,develop\" \
XDEBUG_TRIGGER=\"foo\" \
XDEBUG_CONFIG=\"client_port=${PHP_XDEBUG_PORT} client_host=$${DOCKER_HOST}\" \
bin/phpunit -c Web/typo3conf/ext/menus/Build/phpunit/UnitTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
.Build/bin/phpunit -c menus/Build/phpunit/UnitTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE};
fi
"
16 changes: 8 additions & 8 deletions Tests/Functional/Compiler/LanguageMenuCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,13 +239,10 @@ protected function compileMenu(array $pageDataset, array $configuration = []): a
foreach ($pageDataset as $page) {
$connection->insert('pages', $page);
}
$controller = $this->getAccessibleMock(
TypoScriptFrontendController::class,
['get_cache_timeout'],
[],
'',
false
);
$controller = $this->getMockBuilder($this->buildAccessibleProxy(TypoScriptFrontendController::class))
->onlyMethods(['get_cache_timeout'])
->disableOriginalConstructor()
->getMock();
$GLOBALS['TSFE'] = $controller;
if ((GeneralUtility::makeInstance(Typo3Version::class))->getMajorVersion() < 12) {
$GLOBALS['TSFE']->id = '1';
Expand All @@ -259,7 +256,10 @@ protected function compileMenu(array $pageDataset, array $configuration = []): a
->getMock();
$pageRepository = GeneralUtility::makeInstance(PageRepository::class);
$menuRepository = GeneralUtility::makeInstance(MenuRepository::class, $context, $pageRepository, $this->createMock(EventDispatcherInterface::class));
$cacheHelper = $this->getAccessibleMock(CacheHelper::class, ['foo'], [], '', false);
$cacheHelper = $this->getMockBuilder($this->buildAccessibleProxy(CacheHelper::class))
->onlyMethods([])
->disableOriginalConstructor()
->getMock();
$cacheHelper->_set('disableCaching', true);
$languageMenuCompiler = $this->getMockBuilder(LanguageMenuCompiler::class)
->onlyMethods(
Expand Down
25 changes: 13 additions & 12 deletions Tests/Functional/DataProcessing/DataProcessingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class DataProcessingTest extends FunctionalTestCase
protected function setUp(): void
{
parent::setUp();
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/../Fixtures/pages.csv');
}

protected function reduceResults(array $results): array
Expand Down Expand Up @@ -78,17 +78,18 @@ protected function getTypoScriptFrontendController(Site $site, int $pageId): Typ
$frontendUserAuth = $this->getMockBuilder(FrontendUserAuthentication::class)
->disableOriginalConstructor()
->getMock();
$controller = $this->getAccessibleMock(
TypoScriptFrontendController::class,
['get_cache_timeout'],
[
$context,
$site,
$siteLanguage,
$pageArguments,
$frontendUserAuth,
]
);
$controller = $this->getMockBuilder($this->buildAccessibleProxy(TypoScriptFrontendController::class))
->onlyMethods(['get_cache_timeout'])
->setConstructorArgs(
[
$context,
$site,
$siteLanguage,
$pageArguments,
$frontendUserAuth,
]
)
->getMock();
$controller->expects(self::any())->method('get_cache_timeout')->willReturn(1);
return $controller;
}
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/Domain/Repository/MenuRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MenuRepositoryTest extends FunctionalTestCase
*/
public function translatedPageIsNotInMenuIfNavHideIsSet(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Domain/Repository/Fixtures/translated_page_with_nav_hide.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/translated_page_with_nav_hide.csv');
$languageAspect = GeneralUtility::makeInstance(LanguageAspect::class, 1);
$context = GeneralUtility::makeInstance(Context::class);
$context->setAspect('language', $languageAspect);
Expand All @@ -44,7 +44,7 @@ public function translatedPageIsNotInMenuIfNavHideIsSet(): void
*/
public function translatedPageIsInMenuIfNavHideAndIgnoreNavHideIsSet(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Domain/Repository/Fixtures/translated_page_with_nav_hide.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/translated_page_with_nav_hide.csv');
$languageAspect = GeneralUtility::makeInstance(LanguageAspect::class, 1);
$context = GeneralUtility::makeInstance(Context::class);
$context->setAspect('language', $languageAspect);
Expand Down
8 changes: 4 additions & 4 deletions Tests/Functional/Frontend/BreadcrumbMenuContentObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class BreadcrumbMenuContentObjectTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/breadcrumb_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/breadcrumb_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a href="/">root</a>';
$body = (string)$response->getBody();
Expand All @@ -32,8 +32,8 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/breadcrumb_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/breadcrumb_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/page-1'));
$expected = '<a href="/">root</a><a href="/page-1">page-1</a>';
$body = (string)$response->getBody();
Expand Down
8 changes: 4 additions & 4 deletions Tests/Functional/Frontend/BreadcrumbMenuFluidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class BreadcrumbMenuFluidTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/breadcrumb_menu_fluid_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/breadcrumb_menu_fluid_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a href="/">root</a>';
$body = (string)$response->getBody();
Expand All @@ -32,8 +32,8 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/breadcrumb_menu_fluid_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/breadcrumb_menu_fluid_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/page-1'));
$expected = '<a href="/">root</a><a href="/page-1">page-1</a>';
$body = (string)$response->getBody();
Expand Down
12 changes: 6 additions & 6 deletions Tests/Functional/Frontend/LanguageMenuContentObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class LanguageMenuContentObjectTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/translated_pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/language_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/translated_pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/language_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a href="/" class="active">english</a><a href="/de/">german</a>';
$body = (string)$response->getBody();
Expand All @@ -33,9 +33,9 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/translated_pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/language_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/translated_pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/language_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/de/'));
$expected = '<a href="/">english</a><a href="/de/" class="active">german</a>';
$body = (string)$response->getBody();
Expand Down
12 changes: 6 additions & 6 deletions Tests/Functional/Frontend/LanguageMenuFluidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class LanguageMenuFluidTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/translated_pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/language_menu_fluid_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/translated_pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/language_menu_fluid_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a class="active" href="/">english</a><a href="/de/">german</a>';
$body = (string)$response->getBody();
Expand All @@ -33,9 +33,9 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/translated_pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/language_menu_fluid_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/translated_pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/language_menu_fluid_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/de/'));
$expected = '<a href="/">english</a><a class="active" href="/de/">german</a>';
$body = (string)$response->getBody();
Expand Down
8 changes: 4 additions & 4 deletions Tests/Functional/Frontend/ListMenuContentObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class ListMenuContentObjectTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/list_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/list_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a href="/page-1">page-1</a>';
$body = (string)$response->getBody();
Expand All @@ -32,8 +32,8 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/list_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/list_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/page-1'));
$expected = '<a href="/page-1">page-1</a>';
$body = (string)$response->getBody();
Expand Down
8 changes: 4 additions & 4 deletions Tests/Functional/Frontend/ListMenuFluidTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class ListMenuFluidTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/list_menu_fluid_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/list_menu_fluid_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a href="/page-1">page-1</a>';
$body = (string)$response->getBody();
Expand All @@ -32,8 +32,8 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/list_menu_fluid_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/list_menu_fluid_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/page-1'));
$expected = '<a href="/page-1">page-1</a>';
$body = (string)$response->getBody();
Expand Down
8 changes: 4 additions & 4 deletions Tests/Functional/Frontend/TreeMenuContentObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class TreeMenuContentObjectTest extends AbstractFrontendTest
*/
public function menuOnRootPage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/tree_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/tree_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/'));
$expected = '<a href="/page-1">page-1</a><a href="/page-2">page-2</a>';
$body = (string)$response->getBody();
Expand All @@ -32,8 +32,8 @@ public function menuOnRootPage(): void
*/
public function menuOnSubpage(): void
{
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/pages.csv');
$this->importCSVDataSet(ORIGINAL_ROOT . 'typo3conf/ext/menus/Tests/Functional/Frontend/Fixtures/tree_menu_content_object_typoscript.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/pages.csv');
$this->importCSVDataSet(__DIR__ . '/Fixtures/tree_menu_content_object_typoscript.csv');
$response = $this->executeFrontendRequestWrapper(new InternalRequest('http://localhost/page-1'));
$expected = '<a href="/page-1" class="active">page-1</a><a href="/page-2">page-2</a>';
$body = (string)$response->getBody();
Expand Down
Loading

0 comments on commit 251ae22

Please sign in to comment.