[BUGFIX] array_merge_recursive_overrule: __UNSET for array values
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Unit / Utility / GeneralUtilityTest.php
index f00ac6e..5c6e9ec 100644 (file)
@@ -4020,14 +4020,16 @@ class GeneralUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                        'first' => array(
                                'second' => 'second',
                                'third' => 'third'
-                       )
+                       ),
+                       'fifth' => array()
                );
                $array2 = array(
                        'first' => array(
                                'second' => 'overrule',
                                'third' => '__UNSET',
                                'fourth' => 'overrile'
-                       )
+                       ),
+                       'fifth' => '__UNSET'
                );
                $expected = array(
                        'first' => array(