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