2 namespace TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider;
17 use TYPO3\CMS\Core\Tests\UnitTestCase;
40 $this->markTestIncomplete(
'skipped for now, this is not save');
48 $this->setExpectedException(\UnexpectedValueException::class, $this->anything(), 1438594044);
49 $this->subject->addData($input);
58 'tableName' =>
'aTable',
63 $GLOBALS[
'TCA'][$input[
'tableName']] = $expected;
64 $result = $this->subject->addData($input);
65 $this->assertEquals($expected, $result[
'processedTca']);
74 'tableName' =>
'aTable',
77 $this->setExpectedException(\UnexpectedValueException::class, $this->anything(),
80 $this->subject->addData($input);
89 'tableName' =>
'aTable',
91 $GLOBALS[
'TCA'][$input[
'tableName']] =
'foo';
92 $this->setExpectedException(\UnexpectedValueException::class, $this->anything(),
95 $this->subject->addData($input);