‪TYPO3CMS  ‪main
PagesAndTtContentWithImagesInFilledDatabaseTest.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;
25 
27 {
28  protected array ‪$additionalFoldersToCreate = [
29  '/fileadmin/user_upload',
30  ];
31 
33  'typo3/sysext/impexp/Tests/Functional/Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg' => 'fileadmin/user_upload/typo3_image2.jpg',
34  ];
35 
36  #[Test]
38  {
39  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/pages.csv');
40  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/tt_content-with-image.csv');
41  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file.csv');
42  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_metadata.csv');
43  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_reference.csv');
44  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.csv');
45 
46  $subject = GeneralUtility::makeInstance(Import::class);
47  $subject->setPid(0);
48  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-existing-different-image.xml');
49  $subject->importData();
50 
51  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg';
52 
53  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/importPagesAndRelatedTtContentWithDifferentImageToExistingData.csv');
54 
55  self::assertFileEquals(__DIR__ . '/../Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2.jpg');
56  self::assertFileEquals(__DIR__ . '/../Fixtures/FileAssertions/typo3_image2_01.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg');
57  }
58 
59  #[Test]
61  {
62  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/pages.csv');
63  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/tt_content-with-image.csv');
64  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file.csv');
65  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_metadata.csv');
66  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_reference.csv');
67  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.csv');
68 
69  $subject = GeneralUtility::makeInstance(Import::class);
70  try {
71  $subject->setPid(0);
72  $subject->setUpdate(true);
73  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-existing-different-image.xml');
74  $subject->importData();
75  } catch (\‪Exception $e) {
76  // This warning is expected, but the import is completed anyway
77  self::assertEquals(
78  ['Updating sys_file records is not supported! They will be imported as new records!'],
79  $subject->getErrorLog()
80  );
81  }
82 
83  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg';
84 
85  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/updatePagesAndRelatedTtContentWithDifferentImageToExistingData.csv');
86 
87  self::assertFileEquals(__DIR__ . '/../Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2.jpg');
88  self::assertFileEquals(__DIR__ . '/../Fixtures/FileAssertions/typo3_image2_01.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg');
89  }
90 
91  #[Test]
93  {
94  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/pages.csv');
95  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/tt_content-with-image.csv');
96  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file.csv');
97  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_metadata.csv');
98  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_reference.csv');
99  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.csv');
100 
101  $subject = GeneralUtility::makeInstance(Import::class);
102  try {
103  $subject->setPid(0);
104  $subject->setUpdate(true);
105  $subject->setImportMode([
106  'pages:1' => ‪Import::IMPORT_MODE_AS_NEW,
107  'pages:2' => ‪Import::IMPORT_MODE_AS_NEW,
108  ]);
109  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-existing-different-image.xml');
110  $subject->importData();
111  } catch (\‪Exception $e) {
112  // This warning is expected, but the import is completed anyway
113  self::assertEquals(
114  ['Updating sys_file records is not supported! They will be imported as new records!'],
115  $subject->getErrorLog()
116  );
117  }
118 
119  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg';
120 
121  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/updatePagesAndRelatedTtContentWithDifferentImageToExistingDataAndPagesAsNew.csv');
122 
123  self::assertFileEquals(__DIR__ . '/../Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2.jpg');
124  self::assertFileEquals(__DIR__ . '/../Fixtures/FileAssertions/typo3_image2_01.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg');
125  }
126 
127  #[Test]
129  {
130  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/pages.csv');
131  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/tt_content-with-image.csv');
132  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file.csv');
133  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_metadata.csv');
134  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_reference.csv');
135  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.csv');
136 
137  $subject = GeneralUtility::makeInstance(Import::class);
138  try {
139  $subject->setPid(0);
140  $subject->setUpdate(true);
141  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-image-with-forced-uids.xml');
142  $subject->importData();
143  } catch (\‪Exception $e) {
144  // This warning is expected, but the import is completed anyway
145  self::assertEquals(
146  ['Updating sys_file records is not supported! They will be imported as new records!'],
147  $subject->getErrorLog()
148  );
149  }
150 
151  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2_01.jpg';
152 
153  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/updatePagesAndRelatedTtContentKeepsRelationsBetweenImportedPagesAndRecords.csv');
154 
155  self::assertFileEquals(__DIR__ . '/../Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2.jpg');
156  }
157 
158  #[Test]
160  {
161  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/pages.csv');
162  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/tt_content-with-image.csv');
163  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file.csv');
164  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_metadata.csv');
165  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_reference.csv');
166  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.csv');
167 
168  $subject = GeneralUtility::makeInstance(Import::class);
169  $subject->setPid(0);
170  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-existing-same-image.xml');
171  $subject->importData();
172 
173  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/importPagesAndRelatedTtContentWithSameImageToExistingData.csv');
174 
175  self::assertFileEquals(__DIR__ . '/../Fixtures/Folders/fileadmin/user_upload/typo3_image2.jpg', ‪Environment::getPublicPath() . '/fileadmin/user_upload/typo3_image2.jpg');
176  }
177 
200  #[Test]
202  {
203  // Have a single sys_file entry with uid 1
204  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_single_image.csv');
205  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storage.csv');
206 
207  $subject = GeneralUtility::makeInstance(Import::class);
208  $subject->setPid(0);
209  // Import file with sys_file:1 and sys_file:2, where sys_file:1 has one connected
210  // content element, and sys_file:2 has two connected content elements.
211  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-two-images.xml');
212  $subject->importData();
213 
214  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/user_upload/used-1.jpg';
215  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/user_upload/used-2.jpg';
216 
217  // Expect mapping is updated: one content element should still reference new sys_file:2,
218  // two others should reference new sys_file:3
219  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/importPagesAndTtContentWithRemappingNewSysFileEntries.csv');
220  }
221 
222  #[Test]
224  {
225  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_single_image.csv');
226  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_storages.csv');
227 
228  $subject = GeneralUtility::makeInstance(Import::class);
229  $subject->setPid(0);
230  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-two-images.xml');
231  $subject->checkImportPrerequisites();
232  self::assertTrue(true);
233  }
234 
235  #[Test]
237  {
238  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/pages.csv');
239 
240  ‪$GLOBALS['TCA']['tt_content']['columns']['pi_flexform']['config']['ds']['default'] = '
241 <T3DataStructure>
242  <ROOT>
243  <type>array</type>
244  <el>
245  <flexFormRelation>
246  <label>FlexForm relation</label>
247  <config>
248  <type>group</type>
249  <allowed>pages</allowed>
250  <size>1</size>
251  <maxitems>1</maxitems>
252  <minitems>0</minitems>
253  </config>
254  </flexFormRelation>
255  </el>
256  </ROOT>
257 </T3DataStructure>';
258 
259  $subject = GeneralUtility::makeInstance(Import::class);
260  $subject->setPid(1);
261  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlImports/pages-and-ttcontent-with-flexform-relation.xml');
262  $subject->importData();
263 
264  $queryBuilder = $this->getConnectionPool()->getQueryBuilderForTable('tt_content');
265  $originalUidIsNotActualUid = $queryBuilder
266  ->count('uid')
267  ->from('tt_content')
268  ->where($queryBuilder->expr()->like(
269  'pi_flexform',
270  $queryBuilder->createNamedParameter('%<value index="vDEF">4</value>%')
271  ))
272  ->executeQuery()
273  ->fetchOne();
274 
275  self::assertEquals(1, $originalUidIsNotActualUid);
276  }
277 
278  #[Test]
280  {
281  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_single_image.csv');
282 
283  ‪$GLOBALS['TCA']['tt_content']['columns']['pi_flexform']['config']['ds']['default'] = $this->‪getFlexFormSoftReferenceDataStructure();
284 
285  $subject = GeneralUtility::makeInstance(Import::class);
286  $subject->setPid(0);
287  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-flexform-softrefs.xml');
288  $subject->importData();
289 
290  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml';
291 
292  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/importPagesAndRelatedTtContentWithFlexFormSoftReference.csv');
293 
294  self::assertFileEquals(
295  __DIR__ . '/../Fixtures/Folders/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml',
296  ‪Environment::getPublicPath() . '/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml'
297  );
298  }
299 
300  #[Test]
302  {
303  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_single_image.csv');
304 
305  ‪$GLOBALS['TCA']['tt_content']['columns']['pi_flexform']['config']['ds']['default'] = $this->‪getFlexFormSoftReferenceDataStructure();
306 
307  $subject = GeneralUtility::makeInstance(Import::class);
308  $subject->setPid(0);
309  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-flexform-softrefs.xml');
310  $subject->setSoftrefCfg(['2f9299a90b56944746e4cadb753a6a70' => ['mode' => ‪Import::SOFTREF_IMPORT_MODE_EXCLUDE]]);
311  $subject->importData();
312 
313  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml';
314 
315  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/importPagesAndRelatedTtContentWithExcludedFlexFormSoftReference.csv');
316 
317  self::assertFileEquals(
318  __DIR__ . '/../Fixtures/Folders/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml',
319  ‪Environment::getPublicPath() . '/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml'
320  );
321  }
322 
323  #[Test]
325  {
326  $this->importCSVDataSet(__DIR__ . '/../Fixtures/DatabaseImports/sys_file_single_image.csv');
327 
328  ‪$GLOBALS['TCA']['tt_content']['columns']['pi_flexform']['config']['ds']['default'] = $this->‪getFlexFormSoftReferenceDataStructure();
329 
330  $subject = GeneralUtility::makeInstance(Import::class);
331  $subject->setPid(0);
332  $subject->loadFile('EXT:impexp/Tests/Functional/Fixtures/XmlExports/pages-and-ttcontent-with-flexform-softrefs.xml');
333  $subject->setSoftrefCfg(['2f9299a90b56944746e4cadb753a6a70' => ['mode' => ‪Import::SOFTREF_IMPORT_MODE_EDITABLE]]);
334  $subject->setSoftrefInputValues(['2f9299a90b56944746e4cadb753a6a70' => '1:1']);
335  $subject->importData();
336 
337  $this->testFilesToDelete[] = ‪Environment::getPublicPath() . '/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml';
338 
339  $this->assertCSVDataSet(__DIR__ . '/../Fixtures/DatabaseAssertions/importPagesAndRelatedTtContentWithEditedFlexFormSoftReference.csv');
340 
341  self::assertFileEquals(
342  __DIR__ . '/../Fixtures/Folders/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml',
343  ‪Environment::getPublicPath() . '/fileadmin/form_definitions/flexFormWithSoftReference.form.yaml'
344  );
345  }
346 
347  protected function ‪getFlexFormSoftReferenceDataStructure(): string
348  {
349  return '
350 <T3DataStructure>
351  <sheets>
352  <sDEF>
353  <ROOT>
354  <type>array</type>
355  <el>
356  <settings.persistenceIdentifier>
357  <label>FlexForm soft reference</label>
358  <config>
359  <type>select</type>
360  <renderType>selectSingle</renderType>
361  <softref>formPersistenceIdentifier</softref>
362  </config>
363  </settings.persistenceIdentifier>
364  </el>
365  </ROOT>
366  </sDEF>
367  </sheets>
368 </T3DataStructure>';
369  }
370 }
‪TYPO3\CMS\Impexp\Import\IMPORT_MODE_AS_NEW
‪const IMPORT_MODE_AS_NEW
Definition: Import.php:53
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\$pathsToProvideInTestInstance
‪array $pathsToProvideInTestInstance
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:32
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndRelatedTtContentWithDifferentImageToExistingData
‪importPagesAndRelatedTtContentWithDifferentImageToExistingData()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:37
‪TYPO3\CMS\Core\Exception
Definition: Exception.php:21
‪TYPO3\CMS\Core\Core\Environment\getPublicPath
‪static getPublicPath()
Definition: Environment.php:187
‪TYPO3\CMS\Impexp\Tests\Functional\Import
Definition: ImagesWithStoragesTest.php:18
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:27
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndRelatedTtContentCanKeepOriginalFlexFormSoftReference
‪importPagesAndRelatedTtContentCanKeepOriginalFlexFormSoftReference()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:301
‪TYPO3\CMS\Impexp\Import
Definition: Import.php:51
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndRelatedTtContentKeepsRelationBetweenImportedFlexFormsAndPages
‪importPagesAndRelatedTtContentKeepsRelationBetweenImportedFlexFormsAndPages()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:236
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\updatePagesAndRelatedTtContentWithDifferentImageToExistingDataAndPagesAsNew
‪updatePagesAndRelatedTtContentWithDifferentImageToExistingDataAndPagesAsNew()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:92
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndRelatedTtContentKeepsRelationBetweenImportedFlexFormSoftReferenceAndRelatedRecord
‪importPagesAndRelatedTtContentKeepsRelationBetweenImportedFlexFormSoftReferenceAndRelatedRecord()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:279
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\updatePagesAndRelatedTtContentWithDifferentImageToExistingData
‪updatePagesAndRelatedTtContentWithDifferentImageToExistingData()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:60
‪TYPO3\CMS\Impexp\Import\SOFTREF_IMPORT_MODE_EDITABLE
‪const SOFTREF_IMPORT_MODE_EDITABLE
Definition: Import.php:59
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\getFlexFormSoftReferenceDataStructure
‪getFlexFormSoftReferenceDataStructure()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:347
‪TYPO3\CMS\Impexp\Import\SOFTREF_IMPORT_MODE_EXCLUDE
‪const SOFTREF_IMPORT_MODE_EXCLUDE
Definition: Import.php:58
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\$additionalFoldersToCreate
‪array $additionalFoldersToCreate
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:28
‪TYPO3\CMS\Impexp\Tests\Functional\AbstractImportExportTestCase
Definition: AbstractImportExportTestCase.php:33
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndRelatedTtContentCanEditFlexFormSoftReference
‪importPagesAndRelatedTtContentCanEditFlexFormSoftReference()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:324
‪TYPO3\CMS\Core\Core\Environment
Definition: Environment.php:41
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndTtContentWithRemappingNewSysFileEntries
‪importPagesAndTtContentWithRemappingNewSysFileEntries()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:201
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\updatePagesAndRelatedTtContentKeepsRelationsBetweenImportedPagesAndRecords
‪updatePagesAndRelatedTtContentKeepsRelationsBetweenImportedPagesAndRecords()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:128
‪TYPO3\CMS\Core\Utility\GeneralUtility
Definition: GeneralUtility.php:52
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importImageIntoSystemAndMatchingThePathOfTheSecondStorage
‪importImageIntoSystemAndMatchingThePathOfTheSecondStorage()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:223
‪TYPO3\CMS\Impexp\Tests\Functional\Import\PagesAndTtContentWithImagesInFilledDatabaseTest\importPagesAndRelatedTtContentWithSameImageToExistingData
‪importPagesAndRelatedTtContentWithSameImageToExistingData()
Definition: PagesAndTtContentWithImagesInFilledDatabaseTest.php:159