Commit c4b3e9d7 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Properly set clear config flag in functional test

Field 'clear' in sys_template is a checkbox field:
1 = clear constants
2 = clear setup
3 = clear both constants & setup

The patch updates a functional test setup to
properly clear both constants and setup.

Change-Id: I45175bbeb571328715928d133ce83245608e208c
Resolves: #97800
Releases: main
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74969

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 1039ba36
...@@ -134,7 +134,7 @@ class HtmlViewHelperTest extends FunctionalTestCase ...@@ -134,7 +134,7 @@ class HtmlViewHelperTest extends FunctionalTestCase
[ [
'pid' => 1, 'pid' => 1,
'root' => 1, 'root' => 1,
'clear' => 1, 'clear' => 3,
'config' => <<<EOT 'config' => <<<EOT
constants.PROJECT = TYPO3 constants.PROJECT = TYPO3
constants.FOO = BAR constants.FOO = BAR
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment