2 namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
17 use TYPO3\CMS\Core\Tests\UnitTestCase;
42 'tableName' =>
'aParentTable',
58 $GLOBALS[
'BE_USER'] = new \stdClass();
60 'inlineView' => serialize($inlineState),
63 $expected[
'inlineExpandCollapseStateArray'] = $inlineState[
'aParentTable'][5];
64 $this->assertSame($expected, $this->subject->addData($input));
74 'tableName' =>
'bChildTable',
78 'inlineTopMostParentTableName' =>
'aParentTable',
79 'inlineTopMostParentUid' => 5,
97 $GLOBALS[
'BE_USER'] = new \stdClass();
99 'inlineView' => serialize($inlineState),
102 $expected[
'inlineExpandCollapseStateArray'] = $inlineState[
'aParentTable'][5];
103 $this->assertSame($expected, $this->subject->addData($input));