‪TYPO3CMS  10.4
DatabaseRowInitializeNewTest.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
20 
24 class ‪DatabaseRowInitializeNewTest extends UnitTestCase
25 {
30  {
31  $input = [
32  'command' => 'edit',
33  'tableName' => 'aTable',
34  'vanillaUid' => 23,
35  'databaseRow' => [
36  'uid' => 42,
37  ],
38  'userTsConfig' => [
39  'TCAdefaults.' => [
40  'aTable.' => [
41  'uid' => 23,
42  ],
43  ],
44  ],
45  ];
46  self::assertSame($input, (new ‪DatabaseRowInitializeNew())->addData($input));
47  }
48 
53  {
54  $input = [
55  'tableName' => 'aTable',
56  'command' => 'new',
57  'databaseRow' => 'not-an-array',
58  ];
59  $this->expectException(\UnexpectedValueException::class);
60  $this->expectExceptionCode(1444431128);
61  (new ‪DatabaseRowInitializeNew())->addData($input);
62  }
63 
68  {
69  $input = [
70  'command' => 'new',
71  'tableName' => 'aTable',
72  'vanillaUid' => 23,
73  'neighborRow' => null,
74  'inlineChildChildUid' => null,
75  'isInlineChild' => false,
76  'databaseRow' => [
77  'aField' => 42,
78  ],
79  ];
80  $expected = $input;
81  $expected['databaseRow']['pid'] = 23;
82  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
83  }
84 
89  {
90  $input = [
91  'command' => 'new',
92  'tableName' => 'aTable',
93  'vanillaUid' => 23,
94  'neighborRow' => null,
95  'inlineChildChildUid' => null,
96  'isInlineChild' => false,
97  'databaseRow' => [],
98  'userTsConfig' => [
99  'TCAdefaults.' => [
100  'aTable.' => [
101  'aField' => 'userTsValue',
102  ],
103  ],
104  ],
105  'processedTca' => [
106  'columns' => [
107  'aField' => [],
108  ],
109  ]
110  ];
111  $expected = [
112  'aField' => 'userTsValue',
113  'pid' => 23,
114  ];
115  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
116  self::assertSame($expected, $result['databaseRow']);
117  }
118 
123  {
124  $input = [
125  'command' => 'new',
126  'tableName' => 'aTable',
127  'vanillaUid' => 23,
128  'neighborRow' => null,
129  'inlineChildChildUid' => null,
130  'isInlineChild' => false,
131  'databaseRow' => [],
132  'userTsConfig' => [
133  'TCAdefaults.' => [
134  'aTable.' => [
135  'aField' => 'userTsValue',
136  ],
137  ],
138  ],
139  'processedTca' => [
140  'columns' => [],
141  ]
142  ];
143  $expected = [
144  'pid' => 23,
145  ];
146  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
147  self::assertSame($expected, $result['databaseRow']);
148  }
149 
154  {
155  $input = [
156  'command' => 'new',
157  'tableName' => 'aTable',
158  'vanillaUid' => 23,
159  'neighborRow' => null,
160  'inlineChildChildUid' => null,
161  'isInlineChild' => false,
162  'databaseRow' => [],
163  'pageTsConfig' => [
164  'TCAdefaults.' => [
165  'aTable.' => [
166  'aField' => 'pageTsValue',
167  ],
168  ],
169  ],
170  'processedTca' => [
171  'columns' => [
172  'aField' => [],
173  ],
174  ]
175  ];
176  $expected = [
177  'aField' => 'pageTsValue',
178  'pid' => 23,
179  ];
180  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
181  self::assertSame($expected, $result['databaseRow']);
182  }
183 
188  {
189  $input = [
190  'command' => 'new',
191  'tableName' => 'aTable',
192  'vanillaUid' => 23,
193  'neighborRow' => null,
194  'inlineChildChildUid' => null,
195  'isInlineChild' => false,
196  'databaseRow' => [],
197  'pageTsConfig' => [
198  'TCAdefaults.' => [
199  'aTable.' => [
200  'aField' => 'pageTsValue',
201  ],
202  ],
203  ],
204  'processedTca' => [
205  'columns' => [],
206  ]
207  ];
208  $expected = [
209  'pid' => 23,
210  ];
211  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
212  self::assertSame($expected, $result['databaseRow']);
213  }
214 
219  {
220  $input = [
221  'command' => 'new',
222  'tableName' => 'aTable',
223  'vanillaUid' => 23,
224  'neighborRow' => null,
225  'inlineChildChildUid' => null,
226  'isInlineChild' => false,
227  'databaseRow' => [],
228  'pageTsConfig' => [
229  'TCAdefaults.' => [
230  'aTable.' => [
231  'aField' => 'pageTsValue',
232  ],
233  ],
234  ],
235  'userTsConfig' => [
236  'TCAdefaults.' => [
237  'aTable.' => [
238  'aField' => 'userTsValue',
239  ],
240  ],
241  ],
242  'processedTca' => [
243  'columns' => [
244  'aField' => [],
245  ],
246  ]
247  ];
248  $expected = [
249  'aField' => 'pageTsValue',
250  'pid' => 23,
251  ];
252  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
253  self::assertSame($expected, $result['databaseRow']);
254  }
255 
260  {
261  $input = [
262  'command' => 'new',
263  'tableName' => 'aTable',
264  'vanillaUid' => 23,
265  'inlineChildChildUid' => null,
266  'isInlineChild' => false,
267  'databaseRow' => [],
268  'neighborRow' => [
269  'aField' => 'valueFromNeighbor',
270  ],
271  'processedTca' => [
272  'ctrl' => [
273  'useColumnsForDefaultValues' => 'aField',
274  ],
275  'columns' => [
276  'aField' => [],
277  ],
278  ],
279  ];
280  $expected = [
281  'aField' => 'valueFromNeighbor',
282  'pid' => 23,
283  ];
284  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
285  self::assertSame($expected, $result['databaseRow']);
286  }
287 
292  {
293  $input = [
294  'command' => 'new',
295  'tableName' => 'aTable',
296  'vanillaUid' => 23,
297  'inlineChildChildUid' => null,
298  'isInlineChild' => false,
299  'databaseRow' => [],
300  'neighborRow' => [
301  'aField' => 'valueFromNeighbor',
302  ],
303  'pageTsConfig' => [
304  'TCAdefaults.' => [
305  'aTable.' => [
306  'aField' => 'pageTsValue',
307  ],
308  ],
309  ],
310  'userTsConfig' => [
311  'TCAdefaults.' => [
312  'aTable.' => [
313  'aField' => 'userTsValue',
314  ],
315  ],
316  ],
317  'processedTca' => [
318  'ctrl' => [
319  'useColumnsForDefaultValues' => 'aField',
320  ],
321  'columns' => [
322  'aField' => [],
323  ],
324  ],
325  ];
326  $expected = [
327  'aField' => 'valueFromNeighbor',
328  'pid' => 23,
329  ];
330  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
331  self::assertSame($expected, $result['databaseRow']);
332  }
333 
338  {
339  $input = [
340  'command' => 'new',
341  'tableName' => 'aTable',
342  'vanillaUid' => 23,
343  'neighborRow' => null,
344  'inlineChildChildUid' => null,
345  'isInlineChild' => false,
346  'databaseRow' => [],
347  'processedTca' => [
348  'columns' => [
349  'aField' => [],
350  ],
351  ],
352  'defaultValues' => [
353  'aTable' => [
354  'aField' => 'getValue',
355  ],
356  ],
357  ];
358  $expected = [
359  'aField' => 'getValue',
360  'pid' => 23,
361  ];
362  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
363  self::assertSame($expected, $result['databaseRow']);
364  }
365 
370  {
371  $input = [
372  'command' => 'new',
373  'tableName' => 'aTable',
374  'vanillaUid' => 23,
375  'neighborRow' => null,
376  'inlineChildChildUid' => null,
377  'isInlineChild' => false,
378  'databaseRow' => [],
379  'userTsConfig' => [
380  'TCAdefaults.' => [
381  'aTable.' => [
382  'aField' => 'pageTsValue',
383  ],
384  ],
385  ],
386  'processedTca' => [
387  'columns' => [],
388  ],
389  'defaultValues' => [
390  'aTable' => [
391  'aField' => 'getValue',
392  ],
393  ],
394  ];
395  $expected = [
396  'pid' => 23,
397  ];
398  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
399  self::assertSame($expected, $result['databaseRow']);
400  }
401 
406  {
407  $input = [
408  'command' => 'new',
409  'tableName' => 'aTable',
410  'vanillaUid' => 23,
411  'inlineChildChildUid' => null,
412  'isInlineChild' => false,
413  'databaseRow' => [],
414  'neighborRow' => [
415  'aField' => 'valueFromNeighbor',
416  ],
417  'pageTsConfig' => [
418  'TCAdefaults.' => [
419  'aTable.' => [
420  'aField' => 'pageTsValue',
421  ],
422  ],
423  ],
424  'userTsConfig' => [
425  'TCAdefaults.' => [
426  'aTable.' => [
427  'aField' => 'userTsValue',
428  ],
429  ],
430  ],
431  'processedTca' => [
432  'ctrl' => [
433  'useColumnsForDefaultValues' => 'aField',
434  ],
435  'columns' => [
436  'aField' => [],
437  ],
438  ],
439  'defaultValues' => [
440  'aTable' => [
441  'aField' => 'postValue',
442  ],
443  ]
444  ];
445  $expected = [
446  'aField' => 'postValue',
447  'pid' => 23,
448  ];
449  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
450  self::assertSame($expected, $result['databaseRow']);
451  }
452 
457  {
458  $input = [
459  'command' => 'new',
460  'tableName' => 'aTable',
461  'neighborRow' => null,
462  'isInlineChild' => false,
463  'databaseRow' => [],
464  'inlineChildChildUid' => 42,
465  ];
466  $this->expectException(\UnexpectedValueException::class);
467  $this->expectExceptionCode(1444434102);
468  (new ‪DatabaseRowInitializeNew())->addData($input);
469  }
470 
475  {
476  $input = [
477  'command' => 'new',
478  'tableName' => 'aTable',
479  'neighborRow' => null,
480  'isInlineChild' => false,
481  'databaseRow' => [],
482  'inlineChildChildUid' => '42',
483  ];
484  $this->expectException(\UnexpectedValueException::class);
485  $this->expectExceptionCode(1444434103);
486  (new ‪DatabaseRowInitializeNew())->addData($input);
487  }
488 
493  {
494  $input = [
495  'command' => 'new',
496  'tableName' => 'aTable',
497  'neighborRow' => null,
498  'isInlineChild' => false,
499  'databaseRow' => [],
500  'inlineChildChildUid' => 42,
501  'inlineParentConfig' => [
502  'foreign_selector' => 'theForeignSelectorField',
503  ],
504  'processedTca' => [
505  'columns' => [
506  'theForeignSelectorField' => [
507  'config' => [
508  'type' => 'group',
509  ],
510  ],
511  ],
512  ],
513  'vanillaUid' => 5,
514  ];
515  $expected = $input;
516  $expected['databaseRow']['theForeignSelectorField'] = 42;
517  $expected['databaseRow']['pid'] = 5;
518  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
519  }
520 
525  {
526  $input = [
527  'command' => 'new',
528  'tableName' => 'aTable',
529  'neighborRow' => null,
530  'isInlineChild' => false,
531  'databaseRow' => [],
532  'inlineChildChildUid' => 42,
533  'inlineParentConfig' => [
534  'foreign_selector' => 'theForeignSelectorField',
535  ],
536  'processedTca' => [
537  'columns' => [
538  'theForeignSelectorField' => [
539  'config' => [
540  'type' => 'input',
541  ],
542  ],
543  ],
544  ],
545  ];
546  $this->expectException(\UnexpectedValueException::class);
547  $this->expectExceptionCode(1444434104);
548  (new ‪DatabaseRowInitializeNew())->addData($input);
549  }
550 
555  {
556  $input = [
557  'command' => 'new',
558  'tableName' => 'aTable',
559  'neighborRow' => null,
560  'inlineChildChildUid' => null,
561  'isInlineChild' => false,
562  'databaseRow' => [],
563  'inlineParentConfig' => [
564  'inline' => [
565  'parentSysLanguageUid' => 'not-an-integer',
566  ],
567  ],
568  'processedTca' => [
569  'ctrl' => [
570  'languageField' => 'sys_language_uid',
571  'transOrigPointerField' => 'l10n_parent',
572  ],
573  'columns' => [],
574  ],
575  ];
576  $this->expectException(\UnexpectedValueException::class);
577  $this->expectExceptionCode(1490360772);
578  (new ‪DatabaseRowInitializeNew())->addData($input);
579  }
580 
585  {
586  $input = [
587  'command' => 'new',
588  'tableName' => 'aTable',
589  'neighborRow' => null,
590  'inlineChildChildUid' => null,
591  'isInlineChild' => false,
592  'vanillaUid' => 1,
593  'databaseRow' => [],
594  'inlineParentConfig' => [
595  'inline' => [
596  'parentSysLanguageUid' => '42',
597  ],
598  ],
599  'processedTca' => [
600  'ctrl' => [
601  'languageField' => 'sys_language_uid',
602  'transOrigPointerField' => 'l10n_parent',
603  ],
604  'columns' => [],
605  ],
606  ];
607  $expected = $input;
608  $expected['databaseRow'] = [
609  'sys_language_uid' => 42,
610  'pid' => 1,
611  ];
612  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
613  self::assertSame($expected, $result);
614  }
615 
620  {
621  $input = [
622  'command' => 'new',
623  'tableName' => 'aTable',
624  'vanillaUid' => 23,
625  'databaseRow' => [],
626  'neighborRow' => null,
627  'inlineChildChildUid' => null,
628  'isInlineChild' => false,
629  ];
630  $expected = [];
631  $expected['pid'] = 23;
632  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
633  self::assertSame($expected, $result['databaseRow']);
634  }
635 
640  {
641  $input = [
642  'command' => 'new',
643  'tableName' => 'aTable',
644  'vanillaUid' => 23,
645  'neighborRow' => null,
646  'inlineChildChildUid' => null,
647  'databaseRow' => [],
648  'pageTsConfig' => [
649  'TCAdefaults.' => [
650  'aTable.' => [
651  'pid' => '42',
652  ],
653  ],
654  ],
655  'isInlineChild' => false,
656  ];
657  $expected = $input;
658  $expected['databaseRow']['pid'] = 23;
659  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
660  }
661 
666  {
667  $input = [
668  'command' => 'new',
669  'tableName' => 'aTable',
670  'vanillaUid' => 23,
671  'neighborRow' => null,
672  'inlineChildChildUid' => null,
673  'databaseRow' => [],
674  'pageTsConfig' => [
675  'TCAdefaults.' => [
676  'aTable.' => [
677  'pid' => 'notAnInteger',
678  ],
679  ],
680  ],
681  'isInlineChild' => true,
682  ];
683  $this->expectException(\UnexpectedValueException::class);
684  $this->expectExceptionCode(1461598332);
685  (new ‪DatabaseRowInitializeNew())->addData($input);
686  }
687 
692  {
693  $input = [
694  'command' => 'new',
695  'tableName' => 'aTable',
696  'vanillaUid' => 23,
697  'neighborRow' => null,
698  'inlineChildChildUid' => null,
699  'databaseRow' => [],
700  'pageTsConfig' => [
701  'TCAdefaults.' => [
702  'aTable.' => [
703  'pid' => '42',
704  ],
705  ],
706  ],
707  'isInlineChild' => true,
708  ];
709  $expected = $input;
710  $expected['databaseRow']['pid'] = 42;
711  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
712  }
713 
718  {
719  $input = [
720  'command' => 'new',
721  'tableName' => 'aTable',
722  'vanillaUid' => 23,
723  'neighborRow' => null,
724  'inlineChildChildUid' => null,
725  'databaseRow' => [],
726  'isInlineChild' => true,
727  'inlineParentUid' => 42,
728  'inlineParentConfig' => [
729  'foreign_field' => 'theParentField'
730  ],
731  ];
732  $expected = $input;
733  $expected['databaseRow']['theParentField'] = 42;
734  $expected['databaseRow']['pid'] = 23;
735  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
736  }
737 }
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsForeignSelectorFieldToValueOfChildChildUid
‪addDataSetsForeignSelectorFieldToValueOfChildChildUid()
Definition: DatabaseRowInitializeNewTest.php:492
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesUsePageTsValueForPidIfRecordIsInlineChild
‪addDataDoesUsePageTsValueForPidIfRecordIsInlineChild()
Definition: DatabaseRowInitializeNewTest.php:691
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotUsePageTsValueForPidIfRecordIsNotInlineChild
‪addDataDoesNotUsePageTsValueForPidIfRecordIsNotInlineChild()
Definition: DatabaseRowInitializeNewTest.php:639
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotSetDefaultDataFromPageTsIfColumnIsMissingInTca
‪addDataDoesNotSetDefaultDataFromPageTsIfColumnIsMissingInTca()
Definition: DatabaseRowInitializeNewTest.php:187
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsUidOfParentFieldIfRecordIsInlineChild
‪addDataSetsUidOfParentFieldIfRecordIsInlineChild()
Definition: DatabaseRowInitializeNewTest.php:717
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataOverrulesOtherDefaults
‪addDataSetsDefaultDataOverrulesOtherDefaults()
Definition: DatabaseRowInitializeNewTest.php:405
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataReturnSameDataIfCommandIsEdit
‪addDataReturnSameDataIfCommandIsEdit()
Definition: DatabaseRowInitializeNewTest.php:29
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotSetDefaultDataFromUserTsIfColumnIsMissingInTca
‪addDataDoesNotSetDefaultDataFromUserTsIfColumnIsMissingInTca()
Definition: DatabaseRowInitializeNewTest.php:122
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsPidToVanillaUid
‪addDataSetsPidToVanillaUid()
Definition: DatabaseRowInitializeNewTest.php:619
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfForeignSelectorDoesNotPointToGroupOrSelectField
‪addDataThrowsExceptionIfForeignSelectorDoesNotPointToGroupOrSelectField()
Definition: DatabaseRowInitializeNewTest.php:524
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataFromPageTsIfColumnIsDefinedInTca
‪addDataSetsDefaultDataFromPageTsIfColumnIsDefinedInTca()
Definition: DatabaseRowInitializeNewTest.php:153
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataOverrulingFromNeighborRow
‪addDataSetsDefaultDataOverrulingFromNeighborRow()
Definition: DatabaseRowInitializeNewTest.php:291
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataKeepsGivenDefaultsIfCommandIsNew
‪addDataKeepsGivenDefaultsIfCommandIsNew()
Definition: DatabaseRowInitializeNewTest.php:67
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfDatabaseRowIsNotArray
‪addDataThrowsExceptionIfDatabaseRowIsNotArray()
Definition: DatabaseRowInitializeNewTest.php:52
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultFromNeighborRow
‪addDataSetsDefaultFromNeighborRow()
Definition: DatabaseRowInitializeNewTest.php:259
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataFromUserTsIfColumnIsDefinedInTca
‪addDataSetsDefaultDataFromUserTsIfColumnIsDefinedInTca()
Definition: DatabaseRowInitializeNewTest.php:88
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataFromDefaultValuesIfColumnIsDefinedInTca
‪addDataSetsDefaultDataFromDefaultValuesIfColumnIsDefinedInTca()
Definition: DatabaseRowInitializeNewTest.php:337
‪TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew
Definition: DatabaseRowInitializeNew.php:26
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest
Definition: DatabaseRowInitializeNewTest.php:25
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsSysLanguageUidFromParent
‪addDataSetsSysLanguageUidFromParent()
Definition: DatabaseRowInitializeNewTest.php:584
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfInlineParentLanguageIsNoInteger
‪addDataThrowsExceptionIfInlineParentLanguageIsNoInteger()
Definition: DatabaseRowInitializeNewTest.php:554
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataOverrulingFromPageTs
‪addDataSetsDefaultDataOverrulingFromPageTs()
Definition: DatabaseRowInitializeNewTest.php:218
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotSetDefaultDataFromDefaultValuesIfColumnIsMissingInTca
‪addDataDoesNotSetDefaultDataFromDefaultValuesIfColumnIsMissingInTca()
Definition: DatabaseRowInitializeNewTest.php:369
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfPageTsConfigPidValueCanNotBeInterpretedAsInteger
‪addDataThrowsExceptionIfPageTsConfigPidValueCanNotBeInterpretedAsInteger()
Definition: DatabaseRowInitializeNewTest.php:665
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionWithGivenChildChildUidButIsNotInteger
‪addDataThrowsExceptionWithGivenChildChildUidButIsNotInteger()
Definition: DatabaseRowInitializeNewTest.php:474
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider
Definition: DatabaseDefaultLanguagePageRowTest.php:18
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionWithGivenChildChildUidButMissingInlineConfig
‪addDataThrowsExceptionWithGivenChildChildUidButMissingInlineConfig()
Definition: DatabaseRowInitializeNewTest.php:456