‪TYPO3CMS  ‪main
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 
20 use PHPUnit\Framework\Attributes\Test;
22 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
23 
24 final class ‪DatabaseRowInitializeNewTest extends UnitTestCase
25 {
26  #[Test]
28  {
29  $input = [
30  'command' => 'edit',
31  'tableName' => 'aTable',
32  'vanillaUid' => 23,
33  'databaseRow' => [
34  'uid' => 42,
35  ],
36  'userTsConfig' => [
37  'TCAdefaults.' => [
38  'aTable.' => [
39  'uid' => 23,
40  ],
41  ],
42  ],
43  ];
44  self::assertSame($input, (new ‪DatabaseRowInitializeNew())->addData($input));
45  }
46 
47  #[Test]
49  {
50  $input = [
51  'tableName' => 'aTable',
52  'command' => 'new',
53  'databaseRow' => 'not-an-array',
54  ];
55  $this->expectException(\UnexpectedValueException::class);
56  $this->expectExceptionCode(1444431128);
57  (new ‪DatabaseRowInitializeNew())->addData($input);
58  }
59 
60  #[Test]
62  {
63  $input = [
64  'command' => 'new',
65  'tableName' => 'aTable',
66  'vanillaUid' => 23,
67  'neighborRow' => null,
68  'inlineChildChildUid' => null,
69  'isInlineChild' => false,
70  'databaseRow' => [
71  'aField' => 42,
72  ],
73  ];
74  $expected = $input;
75  $expected['databaseRow']['pid'] = 23;
76  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
77  }
78 
79  #[Test]
81  {
82  $input = [
83  'command' => 'new',
84  'tableName' => 'aTable',
85  'vanillaUid' => 23,
86  'neighborRow' => null,
87  'inlineChildChildUid' => null,
88  'isInlineChild' => false,
89  'databaseRow' => [],
90  'userTsConfig' => [
91  'TCAdefaults.' => [
92  'aTable.' => [
93  'aField' => 'userTsValue',
94  ],
95  ],
96  ],
97  'processedTca' => [
98  'columns' => [
99  'aField' => [],
100  ],
101  ],
102  ];
103  $expected = [
104  'aField' => 'userTsValue',
105  'pid' => 23,
106  ];
107  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
108  self::assertSame($expected, $result['databaseRow']);
109  }
110 
111  #[Test]
113  {
114  $input = [
115  'command' => 'new',
116  'tableName' => 'aTable',
117  'vanillaUid' => 23,
118  'neighborRow' => null,
119  'inlineChildChildUid' => null,
120  'isInlineChild' => false,
121  'databaseRow' => [],
122  'userTsConfig' => [
123  'TCAdefaults.' => [
124  'aTable.' => [
125  'aField' => 'userTsValue',
126  ],
127  ],
128  ],
129  'processedTca' => [
130  'columns' => [],
131  ],
132  ];
133  $expected = [
134  'pid' => 23,
135  ];
136  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
137  self::assertSame($expected, $result['databaseRow']);
138  }
139 
140  #[Test]
142  {
143  $input = [
144  'command' => 'new',
145  'tableName' => 'aTable',
146  'vanillaUid' => 23,
147  'neighborRow' => null,
148  'inlineChildChildUid' => null,
149  'isInlineChild' => false,
150  'databaseRow' => [],
151  'pageTsConfig' => [
152  'TCAdefaults.' => [
153  'aTable.' => [
154  'aField' => 'pageTsValue',
155  ],
156  ],
157  ],
158  'processedTca' => [
159  'columns' => [
160  'aField' => [],
161  ],
162  ],
163  ];
164  $expected = [
165  'aField' => 'pageTsValue',
166  'pid' => 23,
167  ];
168  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
169  self::assertSame($expected, $result['databaseRow']);
170  }
171 
172  #[Test]
174  {
175  $input = [
176  'command' => 'new',
177  'tableName' => 'aTable',
178  'vanillaUid' => 23,
179  'neighborRow' => null,
180  'inlineChildChildUid' => null,
181  'isInlineChild' => false,
182  'databaseRow' => [],
183  'pageTsConfig' => [
184  'TCAdefaults.' => [
185  'aTable.' => [
186  'aField' => 'pageTsValue',
187  ],
188  ],
189  ],
190  'processedTca' => [
191  'columns' => [],
192  ],
193  ];
194  $expected = [
195  'pid' => 23,
196  ];
197  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
198  self::assertSame($expected, $result['databaseRow']);
199  }
200 
201  #[Test]
203  {
204  $input = [
205  'command' => 'new',
206  'tableName' => 'aTable',
207  'vanillaUid' => 23,
208  'neighborRow' => null,
209  'inlineChildChildUid' => null,
210  'isInlineChild' => false,
211  'databaseRow' => [],
212  'pageTsConfig' => [
213  'TCAdefaults.' => [
214  'aTable.' => [
215  'aField' => 'pageTsValue',
216  ],
217  ],
218  ],
219  'userTsConfig' => [
220  'TCAdefaults.' => [
221  'aTable.' => [
222  'aField' => 'userTsValue',
223  ],
224  ],
225  ],
226  'processedTca' => [
227  'columns' => [
228  'aField' => [],
229  ],
230  ],
231  ];
232  $expected = [
233  'aField' => 'pageTsValue',
234  'pid' => 23,
235  ];
236  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
237  self::assertSame($expected, $result['databaseRow']);
238  }
239 
240  #[Test]
241  public function ‪addDataSetsDefaultFromNeighborRow(): void
242  {
243  $input = [
244  'command' => 'new',
245  'tableName' => 'aTable',
246  'vanillaUid' => 23,
247  'inlineChildChildUid' => null,
248  'isInlineChild' => false,
249  'databaseRow' => [],
250  'neighborRow' => [
251  'aField' => 'valueFromNeighbor',
252  ],
253  'processedTca' => [
254  'ctrl' => [
255  'useColumnsForDefaultValues' => 'aField',
256  ],
257  'columns' => [
258  'aField' => [],
259  ],
260  ],
261  ];
262  $expected = [
263  'aField' => 'valueFromNeighbor',
264  'pid' => 23,
265  ];
266  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
267  self::assertSame($expected, $result['databaseRow']);
268  }
269 
270  #[Test]
272  {
273  $input = [
274  'command' => 'new',
275  'tableName' => 'aTable',
276  'vanillaUid' => 23,
277  'inlineChildChildUid' => null,
278  'isInlineChild' => false,
279  'databaseRow' => [],
280  'neighborRow' => [
281  'aField' => 'valueFromNeighbor',
282  ],
283  'pageTsConfig' => [
284  'TCAdefaults.' => [
285  'aTable.' => [
286  'aField' => 'pageTsValue',
287  ],
288  ],
289  ],
290  'userTsConfig' => [
291  'TCAdefaults.' => [
292  'aTable.' => [
293  'aField' => 'userTsValue',
294  ],
295  ],
296  ],
297  'processedTca' => [
298  'ctrl' => [
299  'useColumnsForDefaultValues' => 'aField',
300  ],
301  'columns' => [
302  'aField' => [],
303  ],
304  ],
305  ];
306  $expected = [
307  'aField' => 'valueFromNeighbor',
308  'pid' => 23,
309  ];
310  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
311  self::assertSame($expected, $result['databaseRow']);
312  }
313 
314  #[Test]
316  {
317  $input = [
318  'command' => 'new',
319  'tableName' => 'aTable',
320  'vanillaUid' => 23,
321  'neighborRow' => null,
322  'inlineChildChildUid' => null,
323  'isInlineChild' => false,
324  'databaseRow' => [],
325  'processedTca' => [
326  'columns' => [
327  'aField' => [],
328  ],
329  ],
330  'defaultValues' => [
331  'aTable' => [
332  'aField' => 'getValue',
333  ],
334  ],
335  ];
336  $expected = [
337  'aField' => 'getValue',
338  'pid' => 23,
339  ];
340  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
341  self::assertSame($expected, $result['databaseRow']);
342  }
343 
344  #[Test]
346  {
347  $input = [
348  'command' => 'new',
349  'tableName' => 'aTable',
350  'vanillaUid' => 23,
351  'neighborRow' => null,
352  'inlineChildChildUid' => null,
353  'isInlineChild' => false,
354  'databaseRow' => [],
355  'userTsConfig' => [
356  'TCAdefaults.' => [
357  'aTable.' => [
358  'aField' => 'pageTsValue',
359  ],
360  ],
361  ],
362  'processedTca' => [
363  'columns' => [],
364  ],
365  'defaultValues' => [
366  'aTable' => [
367  'aField' => 'getValue',
368  ],
369  ],
370  ];
371  $expected = [
372  'pid' => 23,
373  ];
374  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
375  self::assertSame($expected, $result['databaseRow']);
376  }
377 
378  #[Test]
380  {
381  $input = [
382  'command' => 'new',
383  'tableName' => 'aTable',
384  'vanillaUid' => 23,
385  'inlineChildChildUid' => null,
386  'isInlineChild' => false,
387  'databaseRow' => [],
388  'neighborRow' => [
389  'aField' => 'valueFromNeighbor',
390  ],
391  'pageTsConfig' => [
392  'TCAdefaults.' => [
393  'aTable.' => [
394  'aField' => 'pageTsValue',
395  ],
396  ],
397  ],
398  'userTsConfig' => [
399  'TCAdefaults.' => [
400  'aTable.' => [
401  'aField' => 'userTsValue',
402  ],
403  ],
404  ],
405  'processedTca' => [
406  'ctrl' => [
407  'useColumnsForDefaultValues' => 'aField',
408  ],
409  'columns' => [
410  'aField' => [],
411  ],
412  ],
413  'defaultValues' => [
414  'aTable' => [
415  'aField' => 'postValue',
416  ],
417  ],
418  ];
419  $expected = [
420  'aField' => 'postValue',
421  'pid' => 23,
422  ];
423  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
424  self::assertSame($expected, $result['databaseRow']);
425  }
426 
427  #[Test]
429  {
430  $input = [
431  'command' => 'new',
432  'tableName' => 'aTable',
433  'neighborRow' => null,
434  'isInlineChild' => false,
435  'databaseRow' => [],
436  'inlineChildChildUid' => 42,
437  ];
438  $this->expectException(\UnexpectedValueException::class);
439  $this->expectExceptionCode(1444434102);
440  (new ‪DatabaseRowInitializeNew())->addData($input);
441  }
442 
443  #[Test]
445  {
446  $input = [
447  'command' => 'new',
448  'tableName' => 'aTable',
449  'neighborRow' => null,
450  'isInlineChild' => false,
451  'databaseRow' => [],
452  'inlineChildChildUid' => '42',
453  ];
454  $this->expectException(\UnexpectedValueException::class);
455  $this->expectExceptionCode(1444434103);
456  (new ‪DatabaseRowInitializeNew())->addData($input);
457  }
458 
459  #[Test]
461  {
462  $input = [
463  'command' => 'new',
464  'tableName' => 'aTable',
465  'neighborRow' => null,
466  'isInlineChild' => false,
467  'databaseRow' => [],
468  'inlineChildChildUid' => 42,
469  'inlineParentConfig' => [
470  'foreign_selector' => 'theForeignSelectorField',
471  ],
472  'processedTca' => [
473  'columns' => [
474  'theForeignSelectorField' => [
475  'config' => [
476  'type' => 'group',
477  ],
478  ],
479  ],
480  ],
481  'vanillaUid' => 5,
482  ];
483  $expected = $input;
484  $expected['databaseRow']['theForeignSelectorField'] = 42;
485  $expected['databaseRow']['pid'] = 5;
486  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
487  }
488 
489  #[Test]
491  {
492  $input = [
493  'command' => 'new',
494  'tableName' => 'aTable',
495  'neighborRow' => null,
496  'isInlineChild' => false,
497  'databaseRow' => [],
498  'inlineChildChildUid' => 42,
499  'inlineParentConfig' => [
500  'foreign_selector' => 'theForeignSelectorField',
501  ],
502  'processedTca' => [
503  'columns' => [
504  'theForeignSelectorField' => [
505  'config' => [
506  'type' => 'input',
507  ],
508  ],
509  ],
510  ],
511  ];
512  $this->expectException(\UnexpectedValueException::class);
513  $this->expectExceptionCode(1444434104);
514  (new ‪DatabaseRowInitializeNew())->addData($input);
515  }
516 
517  #[Test]
519  {
520  $input = [
521  'command' => 'new',
522  'tableName' => 'aTable',
523  'neighborRow' => null,
524  'inlineChildChildUid' => null,
525  'isInlineChild' => false,
526  'databaseRow' => [],
527  'inlineParentConfig' => [
528  'inline' => [
529  'parentSysLanguageUid' => 'not-an-integer',
530  ],
531  ],
532  'processedTca' => [
533  'ctrl' => [
534  'languageField' => 'sys_language_uid',
535  'transOrigPointerField' => 'l10n_parent',
536  ],
537  'columns' => [],
538  ],
539  ];
540  $this->expectException(\UnexpectedValueException::class);
541  $this->expectExceptionCode(1490360772);
542  (new ‪DatabaseRowInitializeNew())->addData($input);
543  }
544 
545  #[Test]
547  {
548  $input = [
549  'command' => 'new',
550  'tableName' => 'aTable',
551  'neighborRow' => null,
552  'inlineChildChildUid' => null,
553  'isInlineChild' => false,
554  'vanillaUid' => 1,
555  'databaseRow' => [],
556  'inlineParentConfig' => [
557  'inline' => [
558  'parentSysLanguageUid' => '42',
559  ],
560  ],
561  'processedTca' => [
562  'ctrl' => [
563  'languageField' => 'sys_language_uid',
564  'transOrigPointerField' => 'l10n_parent',
565  ],
566  'columns' => [],
567  ],
568  ];
569  $expected = $input;
570  $expected['databaseRow'] = [
571  'sys_language_uid' => 42,
572  'pid' => 1,
573  ];
574  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
575  self::assertSame($expected, $result);
576  }
577 
578  #[Test]
579  public function ‪addDataSetsPidToVanillaUid(): void
580  {
581  $input = [
582  'command' => 'new',
583  'tableName' => 'aTable',
584  'vanillaUid' => 23,
585  'databaseRow' => [],
586  'neighborRow' => null,
587  'inlineChildChildUid' => null,
588  'isInlineChild' => false,
589  ];
590  $expected = [];
591  $expected['pid'] = 23;
592  $result = (new ‪DatabaseRowInitializeNew())->addData($input);
593  self::assertSame($expected, $result['databaseRow']);
594  }
595 
596  #[Test]
598  {
599  $input = [
600  'command' => 'new',
601  'tableName' => 'aTable',
602  'vanillaUid' => 23,
603  'neighborRow' => null,
604  'inlineChildChildUid' => null,
605  'databaseRow' => [],
606  'pageTsConfig' => [
607  'TCAdefaults.' => [
608  'aTable.' => [
609  'pid' => '42',
610  ],
611  ],
612  ],
613  'isInlineChild' => false,
614  ];
615  $expected = $input;
616  $expected['databaseRow']['pid'] = 23;
617  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
618  }
619 
620  #[Test]
622  {
623  $input = [
624  'command' => 'new',
625  'tableName' => 'aTable',
626  'vanillaUid' => 23,
627  'neighborRow' => null,
628  'inlineChildChildUid' => null,
629  'databaseRow' => [],
630  'pageTsConfig' => [
631  'TCAdefaults.' => [
632  'aTable.' => [
633  'pid' => 'notAnInteger',
634  ],
635  ],
636  ],
637  'isInlineChild' => true,
638  ];
639  $this->expectException(\UnexpectedValueException::class);
640  $this->expectExceptionCode(1461598332);
641  (new ‪DatabaseRowInitializeNew())->addData($input);
642  }
643 
644  #[Test]
646  {
647  $input = [
648  'command' => 'new',
649  'tableName' => 'aTable',
650  'vanillaUid' => 23,
651  'neighborRow' => null,
652  'inlineChildChildUid' => null,
653  'databaseRow' => [],
654  'pageTsConfig' => [
655  'TCAdefaults.' => [
656  'aTable.' => [
657  'pid' => '42',
658  ],
659  ],
660  ],
661  'isInlineChild' => true,
662  ];
663  $expected = $input;
664  $expected['databaseRow']['pid'] = 42;
665  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
666  }
667 
668  #[Test]
670  {
671  $input = [
672  'command' => 'new',
673  'tableName' => 'aTable',
674  'vanillaUid' => 23,
675  'neighborRow' => null,
676  'inlineChildChildUid' => null,
677  'databaseRow' => [],
678  'isInlineChild' => true,
679  'inlineParentUid' => 42,
680  'inlineParentConfig' => [
681  'foreign_field' => 'theParentField',
682  ],
683  ];
684  $expected = $input;
685  $expected['databaseRow']['theParentField'] = 42;
686  $expected['databaseRow']['pid'] = 23;
687  self::assertSame($expected, (new ‪DatabaseRowInitializeNew())->addData($input));
688  }
689 }
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsForeignSelectorFieldToValueOfChildChildUid
‪addDataSetsForeignSelectorFieldToValueOfChildChildUid()
Definition: DatabaseRowInitializeNewTest.php:460
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesUsePageTsValueForPidIfRecordIsInlineChild
‪addDataDoesUsePageTsValueForPidIfRecordIsInlineChild()
Definition: DatabaseRowInitializeNewTest.php:645
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotUsePageTsValueForPidIfRecordIsNotInlineChild
‪addDataDoesNotUsePageTsValueForPidIfRecordIsNotInlineChild()
Definition: DatabaseRowInitializeNewTest.php:597
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotSetDefaultDataFromPageTsIfColumnIsMissingInTca
‪addDataDoesNotSetDefaultDataFromPageTsIfColumnIsMissingInTca()
Definition: DatabaseRowInitializeNewTest.php:173
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsUidOfParentFieldIfRecordIsInlineChild
‪addDataSetsUidOfParentFieldIfRecordIsInlineChild()
Definition: DatabaseRowInitializeNewTest.php:669
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataOverrulesOtherDefaults
‪addDataSetsDefaultDataOverrulesOtherDefaults()
Definition: DatabaseRowInitializeNewTest.php:379
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataReturnSameDataIfCommandIsEdit
‪addDataReturnSameDataIfCommandIsEdit()
Definition: DatabaseRowInitializeNewTest.php:27
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotSetDefaultDataFromUserTsIfColumnIsMissingInTca
‪addDataDoesNotSetDefaultDataFromUserTsIfColumnIsMissingInTca()
Definition: DatabaseRowInitializeNewTest.php:112
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsPidToVanillaUid
‪addDataSetsPidToVanillaUid()
Definition: DatabaseRowInitializeNewTest.php:579
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfForeignSelectorDoesNotPointToGroupOrSelectField
‪addDataThrowsExceptionIfForeignSelectorDoesNotPointToGroupOrSelectField()
Definition: DatabaseRowInitializeNewTest.php:490
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataFromPageTsIfColumnIsDefinedInTca
‪addDataSetsDefaultDataFromPageTsIfColumnIsDefinedInTca()
Definition: DatabaseRowInitializeNewTest.php:141
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataOverrulingFromNeighborRow
‪addDataSetsDefaultDataOverrulingFromNeighborRow()
Definition: DatabaseRowInitializeNewTest.php:271
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataKeepsGivenDefaultsIfCommandIsNew
‪addDataKeepsGivenDefaultsIfCommandIsNew()
Definition: DatabaseRowInitializeNewTest.php:61
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfDatabaseRowIsNotArray
‪addDataThrowsExceptionIfDatabaseRowIsNotArray()
Definition: DatabaseRowInitializeNewTest.php:48
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultFromNeighborRow
‪addDataSetsDefaultFromNeighborRow()
Definition: DatabaseRowInitializeNewTest.php:241
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataFromUserTsIfColumnIsDefinedInTca
‪addDataSetsDefaultDataFromUserTsIfColumnIsDefinedInTca()
Definition: DatabaseRowInitializeNewTest.php:80
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataFromDefaultValuesIfColumnIsDefinedInTca
‪addDataSetsDefaultDataFromDefaultValuesIfColumnIsDefinedInTca()
Definition: DatabaseRowInitializeNewTest.php:315
‪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:546
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfInlineParentLanguageIsNoInteger
‪addDataThrowsExceptionIfInlineParentLanguageIsNoInteger()
Definition: DatabaseRowInitializeNewTest.php:518
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataSetsDefaultDataOverrulingFromPageTs
‪addDataSetsDefaultDataOverrulingFromPageTs()
Definition: DatabaseRowInitializeNewTest.php:202
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataDoesNotSetDefaultDataFromDefaultValuesIfColumnIsMissingInTca
‪addDataDoesNotSetDefaultDataFromDefaultValuesIfColumnIsMissingInTca()
Definition: DatabaseRowInitializeNewTest.php:345
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionIfPageTsConfigPidValueCanNotBeInterpretedAsInteger
‪addDataThrowsExceptionIfPageTsConfigPidValueCanNotBeInterpretedAsInteger()
Definition: DatabaseRowInitializeNewTest.php:621
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionWithGivenChildChildUidButIsNotInteger
‪addDataThrowsExceptionWithGivenChildChildUidButIsNotInteger()
Definition: DatabaseRowInitializeNewTest.php:444
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider
Definition: DatabaseDefaultLanguagePageRowTest.php:18
‪TYPO3\CMS\Backend\Tests\Unit\Form\FormDataProvider\DatabaseRowInitializeNewTest\addDataThrowsExceptionWithGivenChildChildUidButMissingInlineConfig
‪addDataThrowsExceptionWithGivenChildChildUidButMissingInlineConfig()
Definition: DatabaseRowInitializeNewTest.php:428