Skip to content

Commit

Permalink
test: improve code coverage in TypoScriptConverterTest
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Jan 12, 2025
1 parent db94c81 commit 5617362
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Tests/Unit/TypoScript/TypoScriptConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ public static function convertTypoScriptArrayToPlainArrayTestdata(): \Iterator
],
];

yield 'typoscript array with a dot key which value is not an array' => [
'typoScriptSettings' => [
'10.' => 42,
'10' => 'TEXT',
],
'expectedSettings' => [
'10' => null,
'10.' => 42,
],
];

yield 'typoscript with intermediate dots' => [
'typoScriptSettings' => [
'10.' => [
Expand Down

0 comments on commit 5617362

Please sign in to comment.