‪TYPO3CMS  9.5
AbstractActionTestCase.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
18 
23 {
24  const ‪VALUE_PageId = 89;
33 
34  const ‪TABLE_Page = 'pages';
35  const ‪TABLE_Content = 'tt_content';
36 
40  protected ‪$scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/';
41 
42  protected function ‪setUp()
43  {
44  parent::setUp();
45  $this->‪importScenarioDataSet('LiveDefaultPages');
46  $this->‪importScenarioDataSet('LiveDefaultElements');
47 
48  $this->setUpFrontendRootPage(1, ['typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.typoscript']);
49  $this->‪setWorkspaceId(0);
50  }
51 
59  public function ‪createContents()
60  {
61  // Creating record at the beginning of the page
62  $newTableIds = $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, ['header' => 'Testing #1']);
63  $this->recordIds['newContentIdFirst'] = $newTableIds[‪self::TABLE_Content][0];
64  // Creating record at the end of the page (after last one)
65  $newTableIds = $this->actionService->createNewRecord(self::TABLE_Content, -self::VALUE_ContentIdSecond, ['header' => 'Testing #2']);
66  $this->recordIds['newContentIdLast'] = $newTableIds[‪self::TABLE_Content][0];
67  }
68 
74  public function ‪createContentForLanguageAll()
75  {
76  $newTableIds = $this->actionService->createNewRecord(self::TABLE_Content, self::VALUE_PageId, ['header' => 'Language set to all', 'sys_language_uid' => -1]);
77  $this->recordIds['newContentLanguageAll'] = $newTableIds[‪self::TABLE_Content][0];
78  }
79 
83  public function ‪modifyContent()
84  {
85  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, ['header' => 'Testing #1']);
86  }
87 
91  public function ‪hideContent()
92  {
93  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, ['hidden' => '1']);
94  }
95 
99  public function ‪deleteContent()
100  {
101  $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdSecond);
102  }
103 
108  {
109  $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdThirdLocalized);
110  $this->actionService->deleteRecord(self::TABLE_Content, self::VALUE_ContentIdThird);
111  }
112 
116  public function ‪copyContent()
117  {
118  $copiedTableIds = $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_PageId);
119  $this->recordIds['copiedContentId'] = $copiedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
120  }
121 
125  public function ‪copyContentToLanguage()
126  {
127  $copiedTableIds = $this->actionService->copyRecordToLanguage(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_LanguageId);
128  $this->recordIds['localizedContentId'] = $copiedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
129  }
130 
135  {
136  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['config']['behaviour']['allowLanguageSynchronization'] = true;
137  $copiedTableIds = $this->actionService->copyRecordToLanguage(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_LanguageId);
138  $this->recordIds['localizedContentId'] = $copiedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
139  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, ['header' => 'Testing #1']);
140  }
141 
146  {
147  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['l10n_mode'] = 'exclude';
148  $copiedTableIds = $this->actionService->copyRecordToLanguage(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_LanguageId);
149  $this->recordIds['localizedContentId'] = $copiedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
150  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, ['header' => 'Testing #1']);
151  }
152 
159  {
160  $copiedTableIds = $this->actionService->copyRecordToLanguage(self::TABLE_Content, self::VALUE_ContentIdThirdLocalized, self::VALUE_LanguageIdSecond);
161  $this->recordIds['localizedContentId'] = $copiedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdThirdLocalized];
162  }
163 
167  public function ‪copyPasteContent()
168  {
169  $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_PageId, ['header' => 'Testing #1']);
170  }
171 
175  public function ‪localizeContent()
176  {
177  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_LanguageId);
178  $this->recordIds['localizedContentId'] = $localizedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
179  }
180 
184  public function ‪localizeContentWithHideAtCopy()
185  {
186  ‪$GLOBALS['TCA'][‪self::TABLE_Content]['ctrl']['hideAtCopy'] = true;
188  $this->actionService->modifyRecord(self::TABLE_Content, $this->recordIds['localizedContentId'], ['hidden' => 0]);
189  }
190 
196  {
197  $integrityFieldNames = [
198  'origin' => ‪$GLOBALS['TCA'][‪self::TABLE_Content]['ctrl']['origUid'] ?? null,
199  'language' => ‪$GLOBALS['TCA'][‪self::TABLE_Content]['ctrl']['languageField'] ?? null,
200  'languageParent' => ‪$GLOBALS['TCA'][‪self::TABLE_Content]['ctrl']['transOrigPointerField'] ?? null,
201  'languageSource' => ‪$GLOBALS['TCA'][‪self::TABLE_Content]['ctrl']['translationSource'] ?? null,
202  ];
203  // explicitly unset integrity columns in TCA
204  foreach ($integrityFieldNames as $integrityFieldName) {
205  unset(‪$GLOBALS['TCA'][self::TABLE_Content]['columns'][$integrityFieldName]);
206  }
207  // explicitly call TcaMigration (which was executed already earlier in functional testing bootstrap)
208  ‪$GLOBALS['TCA'] = (new \TYPO3\CMS\Core\Migrations\TcaMigration())->migrate(‪$GLOBALS['TCA']);
209  // perform actions to be tested
211  }
212 
214  {
215  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['config']['behaviour']['allowLanguageSynchronization'] = true;
216  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_LanguageId);
217  $this->recordIds['localizedContentId'] = $localizedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
218  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, ['header' => 'Testing #1']);
219  }
220 
222  {
223  ‪$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['eval'] = 'null';
224  ‪$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['behaviour']['allowLanguageSynchronization'] = true;
225  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, ['bodytext' => null]);
227  }
228 
233  {
234  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdThirdLocalized, self::VALUE_LanguageIdSecond);
235  $this->recordIds['localizedContentId'] = $localizedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdThirdLocalized];
236  }
237 
239  {
240  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['config']['behaviour']['allowLanguageSynchronization'] = true;
241  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdThirdLocalized, self::VALUE_LanguageIdSecond);
242  $this->recordIds['localizedContentId'] = $localizedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdThirdLocalized];
243  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdThird, ['header' => 'Testing #1']);
244  }
245 
247  {
248  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['config']['behaviour']['allowLanguageSynchronization'] = true;
249  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdThirdLocalized, self::VALUE_LanguageIdSecond);
250  $this->recordIds['localizedContentId'] = $localizedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdThirdLocalized];
251  $this->actionService->modifyRecord(self::TABLE_Content, $this->recordIds['localizedContentId'], ['l10n_state' => ['header' => 'source']]);
252  $this->actionService->modifyRecord(self::TABLE_Content, self::VALUE_ContentIdThird, ['header' => 'Testing #1']);
253  }
254 
255  public function ‪createLocalizedContent()
256  {
257  $newContentIdDefault = ‪StringUtility::getUniqueId('NEW');
258  $newContentIdLocalized = ‪StringUtility::getUniqueId('NEW');
259  $dataMap = [
260  self::TABLE_Content => [
261  $newContentIdDefault => ['pid' => ‪self::VALUE_PageId, 'header' => 'Testing'],
262  $newContentIdLocalized => ['pid' => ‪self::VALUE_PageId, 'header' => 'Localized Testing', 'sys_language_uid' => ‪self::VALUE_LanguageId, 'l18n_parent' => $newContentIdDefault, 'l10n_source' => $newContentIdDefault],
263  ]
264  ];
265  $this->actionService->invoke($dataMap, []);
266  $this->recordIds['newContentIdDefault'] = $this->actionService->getDataHandler()->substNEWwithIDs[$newContentIdDefault];
267  $this->recordIds['newContentIdLocalized'] = $this->actionService->getDataHandler()->substNEWwithIDs[$newContentIdLocalized];
268  }
269 
271  {
272  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['config']['behaviour']['allowLanguageSynchronization'] = true;
274  }
275 
277  {
278  ‪$GLOBALS['TCA']['tt_content']['columns']['header']['l10n_mode'] = 'exclude';
280  }
281 
285  public function ‪changeContentSorting()
286  {
287  $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdSecond);
288  }
289 
293  public function ‪moveContentToDifferentPage()
294  {
295  $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_PageIdTarget);
296  }
297 
301  public function ‪movePasteContentToDifferentPage()
302  {
303  $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_PageIdTarget, ['header' => 'Testing #1']);
304  }
305 
310  {
311  $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_PageIdTarget);
312  $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdFirst, -self::VALUE_ContentIdSecond);
313  }
314 
318  public function ‪moveContentToDifferentPageAndHide()
319  {
320  $this->actionService->moveRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_PageIdTarget, ['hidden' => '1']);
321  }
322 
330  public function ‪createPage()
331  {
332  $newTableIds = $this->actionService->createNewRecord(self::TABLE_Page, self::VALUE_PageId, ['title' => 'Testing #1', 'hidden' => 0, 'nav_title' => 'Nav Testing #1']);
333  $this->recordIds['newPageId'] = $newTableIds[‪self::TABLE_Page][0];
334  }
335 
339  public function ‪modifyPage()
340  {
341  $this->actionService->modifyRecord(self::TABLE_Page, self::VALUE_PageId, ['title' => 'Testing #1']);
342  }
343 
347  public function ‪deletePage()
348  {
349  $this->actionService->deleteRecord(self::TABLE_Page, self::VALUE_PageId);
350  }
351 
355  public function ‪copyPage()
356  {
357  $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
358  $this->recordIds['newPageId'] = $newTableIds[‪self::TABLE_Page][‪self::VALUE_PageId];
359  $this->recordIds['newContentIdFirst'] = $newTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdFirst];
360  $this->recordIds['newContentIdLast'] = $newTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
361  }
362 
366  public function ‪copyPageFreeMode()
367  {
368  $newTableIds = $this->actionService->copyRecord(self::TABLE_Page, self::VALUE_PageIdTarget, self::VALUE_PageIdTarget);
369  $this->recordIds['newPageId'] = $newTableIds[‪self::TABLE_Page][‪self::VALUE_PageIdTarget];
370  }
371 
375  public function ‪localizePage()
376  {
377  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
378  $this->recordIds['localizedPageId'] = $localizedTableIds[‪self::TABLE_Page][‪self::VALUE_PageId];
379  }
380 
382  {
383  unset(‪$GLOBALS['TCA'][self::TABLE_Page]['columns']['title']['l10n_mode']);
384  ‪$GLOBALS['TCA'][‪self::TABLE_Page]['columns']['title']['config']['behaviour']['allowLanguageSynchronization'] = true;
385  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
386  $this->recordIds['localizedPageId'] = $localizedTableIds[‪self::TABLE_Page][‪self::VALUE_PageId];
387  $this->actionService->modifyRecord(self::TABLE_Page, self::VALUE_PageId, ['title' => 'Testing #1']);
388  }
389 
390  public function ‪localizePageAndContents()
391  {
392  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
393  $this->recordIds['localizedPageId'] = $localizedTableIds[‪self::TABLE_Page][‪self::VALUE_PageId];
394  $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Content, self::VALUE_ContentIdSecond, self::VALUE_LanguageId);
395  $this->recordIds['localizedContentId'] = $localizedTableIds[‪self::TABLE_Content][‪self::VALUE_ContentIdSecond];
396  }
397 
401  public function ‪changePageSorting()
402  {
403  $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, -self::VALUE_PageIdTarget);
404  }
405 
409  public function ‪movePageToDifferentPage()
410  {
411  $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_PageIdTarget);
412  }
413 
418  {
419  $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageIdTarget, self::VALUE_PageIdWebsite);
420  $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, -self::VALUE_PageIdTarget);
421  }
422 }
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentFromNonDefaultLanguage
‪localizeContentFromNonDefaultLanguage()
Definition: AbstractActionTestCase.php:231
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\createPage
‪createPage()
Definition: AbstractActionTestCase.php:329
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_ContentIdThirdLocalized
‪const VALUE_ContentIdThirdLocalized
Definition: AbstractActionTestCase.php:30
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizePageAndContents
‪localizePageAndContents()
Definition: AbstractActionTestCase.php:389
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\moveContentToDifferentPageAndChangeSorting
‪moveContentToDifferentPageAndChangeSorting()
Definition: AbstractActionTestCase.php:308
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizePage
‪localizePage()
Definition: AbstractActionTestCase.php:374
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_PageIdTarget
‪const VALUE_PageIdTarget
Definition: AbstractActionTestCase.php:25
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentWithLanguageSynchronizationHavingNullValue
‪localizeContentWithLanguageSynchronizationHavingNullValue()
Definition: AbstractActionTestCase.php:220
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\movePageToDifferentPage
‪movePageToDifferentPage()
Definition: AbstractActionTestCase.php:408
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\movePasteContentToDifferentPage
‪movePasteContentToDifferentPage()
Definition: AbstractActionTestCase.php:300
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\$scenarioDataSetDirectory
‪string $scenarioDataSetDirectory
Definition: AbstractActionTestCase.php:39
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentFromNonDefaultLanguageWithLanguageSynchronizationSource
‪localizeContentFromNonDefaultLanguageWithLanguageSynchronizationSource()
Definition: AbstractActionTestCase.php:245
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\TABLE_Content
‪const TABLE_Content
Definition: AbstractActionTestCase.php:35
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyContentToLanguageFromNonDefaultLanguage
‪copyContentToLanguageFromNonDefaultLanguage()
Definition: AbstractActionTestCase.php:157
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyContentToLanguageWithLanguageSynchronization
‪copyContentToLanguageWithLanguageSynchronization()
Definition: AbstractActionTestCase.php:133
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\setUp
‪setUp()
Definition: AbstractActionTestCase.php:41
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_LanguageId
‪const VALUE_LanguageId
Definition: AbstractActionTestCase.php:31
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyContentToLanguageWithLocalizationExclude
‪copyContentToLanguageWithLocalizationExclude()
Definition: AbstractActionTestCase.php:144
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\hideContent
‪hideContent()
Definition: AbstractActionTestCase.php:90
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentFromNonDefaultLanguageWithLanguageSynchronizationDefault
‪localizeContentFromNonDefaultLanguageWithLanguageSynchronizationDefault()
Definition: AbstractActionTestCase.php:237
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyPageFreeMode
‪copyPageFreeMode()
Definition: AbstractActionTestCase.php:365
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\moveContentToDifferentPage
‪moveContentToDifferentPage()
Definition: AbstractActionTestCase.php:292
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyContentToLanguage
‪copyContentToLanguage()
Definition: AbstractActionTestCase.php:124
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\changePageSorting
‪changePageSorting()
Definition: AbstractActionTestCase.php:400
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase
Definition: AbstractDataHandlerActionTestCase.php:33
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyPage
‪copyPage()
Definition: AbstractActionTestCase.php:354
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_LanguageIdSecond
‪const VALUE_LanguageIdSecond
Definition: AbstractActionTestCase.php:32
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentWithEmptyTcaIntegrityColumns
‪localizeContentWithEmptyTcaIntegrityColumns()
Definition: AbstractActionTestCase.php:194
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\deletePage
‪deletePage()
Definition: AbstractActionTestCase.php:346
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_ContentIdFirst
‪const VALUE_ContentIdFirst
Definition: AbstractActionTestCase.php:27
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_ContentIdSecond
‪const VALUE_ContentIdSecond
Definition: AbstractActionTestCase.php:28
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\moveContentToDifferentPageAndHide
‪moveContentToDifferentPageAndHide()
Definition: AbstractActionTestCase.php:317
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\deleteContent
‪deleteContent()
Definition: AbstractActionTestCase.php:98
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentWithLanguageSynchronization
‪localizeContentWithLanguageSynchronization()
Definition: AbstractActionTestCase.php:212
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\TABLE_Page
‪const TABLE_Page
Definition: AbstractActionTestCase.php:34
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\setWorkspaceId
‪setWorkspaceId(int $workspaceId)
Definition: AbstractDataHandlerActionTestCase.php:98
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\createContents
‪createContents()
Definition: AbstractActionTestCase.php:58
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyPasteContent
‪copyPasteContent()
Definition: AbstractActionTestCase.php:166
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase
Definition: AbstractActionTestCase.php:23
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular
Definition: AbstractActionTestCase.php:2
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\modifyPage
‪modifyPage()
Definition: AbstractActionTestCase.php:338
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizePageWithLanguageSynchronization
‪localizePageWithLanguageSynchronization()
Definition: AbstractActionTestCase.php:380
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\deleteLocalizedContentAndDeleteContent
‪deleteLocalizedContentAndDeleteContent()
Definition: AbstractActionTestCase.php:106
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\createLocalizedContentWithLocalizationExclude
‪createLocalizedContentWithLocalizationExclude()
Definition: AbstractActionTestCase.php:275
‪TYPO3\CMS\Core\Utility\StringUtility\getUniqueId
‪static string getUniqueId($prefix='')
Definition: StringUtility.php:91
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContentWithHideAtCopy
‪localizeContentWithHideAtCopy()
Definition: AbstractActionTestCase.php:183
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_PageIdWebsite
‪const VALUE_PageIdWebsite
Definition: AbstractActionTestCase.php:26
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\copyContent
‪copyContent()
Definition: AbstractActionTestCase.php:115
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\localizeContent
‪localizeContent()
Definition: AbstractActionTestCase.php:174
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_PageId
‪const VALUE_PageId
Definition: AbstractActionTestCase.php:24
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\createContentForLanguageAll
‪createContentForLanguageAll()
Definition: AbstractActionTestCase.php:73
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\createLocalizedContentWithLanguageSynchronization
‪createLocalizedContentWithLanguageSynchronization()
Definition: AbstractActionTestCase.php:269
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\createLocalizedContent
‪createLocalizedContent()
Definition: AbstractActionTestCase.php:254
‪TYPO3\CMS\Core\Utility\StringUtility
Definition: StringUtility.php:21
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\VALUE_ContentIdThird
‪const VALUE_ContentIdThird
Definition: AbstractActionTestCase.php:29
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\modifyContent
‪modifyContent()
Definition: AbstractActionTestCase.php:82
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\changeContentSorting
‪changeContentSorting()
Definition: AbstractActionTestCase.php:284
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\Regular\AbstractActionTestCase\movePageToDifferentPageAndChangeSorting
‪movePageToDifferentPageAndChangeSorting()
Definition: AbstractActionTestCase.php:416
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\importScenarioDataSet
‪importScenarioDataSet($dataSetName)
Definition: AbstractDataHandlerActionTestCase.php:117