Skip to content

Commit 4111aeb

Browse files
committed
[WIP] test tests
1 parent 8ba7238 commit 4111aeb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Classes/Tca/Registry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function getPageTsString(): string
282282
}
283283
}
284284

285-
if ($typo3Version->getMajorVersion() > 12 && !empty($cTypesExcludedInNewContentElementWizard)) {
285+
if ($typo3Version->getMajorVersion() > 12) {
286286
foreach ($cTypesExcludedInNewContentElementWizard as $group => $ctypes) {
287287
$pageTs .= LF . 'mod.wizards.newContentElement.wizardItems.' . $group . '.removeItems := addToList(' . implode(',', $ctypes) . ')';
288288
}

Tests/Acceptance/Backend/InfoModuleCest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public function canSeeContainerPageTsConfig(BackendTester $I, PageTree $pageTree
4747
$I->waitForElement('select[name="' . $selectbox2Name . '"]');
4848
$I->selectOption('select[name="' . $selectbox2Name . '"]', 99);
4949
if ($typo3Version->getMajorVersion() >= 12) {
50-
$I->dontSee('b13-2cols-with-header-container');
51-
$I->see('b13-1col');
50+
$I->dontSee('show = b13-2cols-with-header-container');
51+
$I->see('removeItems = b13-1col');
5252
} else {
53-
$I->see('b13-2cols-with-header-container');
54-
$I->dontSee('b13-1col');
53+
$I->see('show = b13-2cols-with-header-container');
54+
$I->dontSee('removeItems = b13-1col');
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)