Commit 23dc2ea
committed
[TASK] Add symfony/console 7.4.1 compatibility to CliCommandTest
With Symfony 7.4.1 a change was made on how interactive input
was evaluated, and no longer failing on the CliCommandTest of TYPO3.
This change adapts the test to not expect a failure, but instead
accept a "success" exit code, by removing the interaction argument
and using a "dry-run".
The modification also revealed that passing args was missing a
command substitution placeholder, which is now added the calls
of:
- referenceindex:update (--check)
- cleanup:localprocessedfiles (-v)
Resolves: #108423
Releases: main
Change-Id: Ia302486782a2e151b4127af1c0fed075fa6aaf15
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/92038
Tested-by: Sven Liebert <[email protected]>
Tested-by: Lina Wolf <[email protected]>
Tested-by: Simon Schaufelberger <[email protected]>
Reviewed-by: Lina Wolf <[email protected]>
Reviewed-by: Simon Schaufelberger <[email protected]>
Reviewed-by: Sven Liebert <[email protected]>
Reviewed-by: Oliver Klee <[email protected]>
Tested-by: Garvin Hicking <[email protected]>
Tested-by: Christian Kuhn <[email protected]>
Reviewed-by: Garvin Hicking <[email protected]>
Tested-by: core-ci <[email protected]>
Reviewed-by: Christian Kuhn <[email protected]>1 parent 532aae2 commit 23dc2ea
File tree
1 file changed
+3
-3
lines changed- typo3/sysext/core/Tests/Functional/Command
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments