2 namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
17 use TYPO3\CMS\Core\Tests\UnitTestCase;
41 'recordTypeValue' =>
'foo',
47 'columnsOverrides' => [],
54 unset($expected[
'processedTca'][
'types'][
'foo'][
'columnsOverrides']);
56 $this->assertEquals($expected, $this->subject->addData($input));
65 'recordTypeValue' =>
'foo',
69 'aConfig' =>
'aValue',
70 'anotherConfig' =>
'anotherValue',
76 'columnsOverrides' => [
78 'aConfig' =>
'aDifferentValue',
87 $expected[
'processedTca'][
'columns'][
'aField'][
'aConfig'] =
'aDifferentValue';
88 unset($expected[
'processedTca'][
'types'][
'foo'][
'columnsOverrides']);
90 $this->assertEquals($expected, $this->subject->addData($input));