‪TYPO3CMS  9.5
ActionTest.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 
21 {
25  protected ‪$assertionDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/DataSet/';
26 
30  protected function ‪setUp()
31  {
32  parent::setUp();
33  }
34 
39  public function ‪createParentContent()
40  {
41  parent::createParentContent();
42  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
43  $this->‪assertAssertionDataSet('createParentContent');
44 
45  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
46  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
47  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
48  }
49 
54  public function ‪modifyParentContent()
55  {
56  parent::modifyParentContent();
57  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
58  $this->‪assertAssertionDataSet('modifyParentContent');
59 
60  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
61  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
62  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
63  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
64  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
65  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
66  }
67 
72  public function ‪deleteParentContent()
73  {
74  parent::deleteParentContent();
75  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
76  $this->‪assertAssertionDataSet('deleteParentContent');
77 
78  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
79  $this->assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
80  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
81  }
82 
88  {
89  parent::deleteParentContentAndDiscardDeletedParent();
90  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
91  $this->‪assertAssertionDataSet('deleteParentContentNDiscardDeletedParent');
92 
93  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
94  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
95  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
96  }
97 
102  public function ‪copyParentContent()
103  {
104  parent::copyParentContent();
105  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
106  $this->‪assertAssertionDataSet('copyParentContent');
107 
108  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
109  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
110  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
111  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
112  }
113 
118  public function ‪copyParentContentToDifferentPage()
119  {
120  parent::copyParentContentToDifferentPage();
121  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
122  $this->‪assertAssertionDataSet('copyParentContentToDifferentPage');
123 
124  $responseSections = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseSections();
125  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
126  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
127  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
128  }
129 
135  {
136  parent::localizeParentContentWithAllChildren();
137  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
138  $this->‪assertAssertionDataSet('localizeParentContentWAllChildren');
139 
140  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseSections();
141  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
142  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
143  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
144  }
145 
150  public function ‪changeParentContentSorting()
151  {
152  parent::changeParentContentSorting();
153  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
154  $this->‪assertAssertionDataSet('changeParentContentSorting');
155 
156  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
157  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
158  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
159  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
160  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
161  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
162  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
163  }
164 
169  public function ‪moveParentContentToDifferentPage()
170  {
171  parent::moveParentContentToDifferentPage();
172  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
173  $this->‪assertAssertionDataSet('moveParentContentToDifferentPage');
174 
175  $responseSections = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseSections();
176  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
177  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
178  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
179  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
180  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
181  }
182 
188  {
189  parent::moveParentContentToDifferentPageAndChangeSorting();
190  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
191  $this->‪assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
192 
193  $responseSections = $this->getFrontendResponse(self::VALUE_PageIdTarget, 0)->getResponseSections();
194  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
195  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2', 'Regular Element #1'));
196  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
197  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
198  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
199  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
200  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
201  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
202  }
203 
212  public function ‪modifyPage()
213  {
214  parent::modifyPage();
215  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
216  $this->‪assertAssertionDataSet('modifyPage');
217 
218  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
219  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
220  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1'));
221  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
222  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
223  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
224  }
225 
230  public function ‪deletePage()
231  {
232  parent::deletePage();
233  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
234  $this->‪assertAssertionDataSet('deletePage');
235 
236  $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, false);
237  $this->assertContains('PageNotFoundException', $response->getError());
238  }
239 
244  public function ‪copyPage()
245  {
246  parent::copyPage();
247  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
248  $this->‪assertAssertionDataSet('copyPage');
249 
250  $responseSections = $this->getFrontendResponse($this->recordIds['newPageId'], 0)->getResponseSections();
251  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
252  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2', 'Hotel #1'));
253  }
254 
260  {
261  parent::copyPageWithHotelBeforeParentContent();
262  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
263  $this->‪assertAssertionDataSet('copyPageWHotelBeforeParentContent');
264 
265  $responseSections = $this->getFrontendResponse($this->recordIds['newPageId'], 0)->getResponseSections();
266  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
267  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2', 'Hotel #1'));
268  }
269 
279  {
280  parent::createParentContentWithHotelAndOfferChildren();
281  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
282  $this->‪assertAssertionDataSet('createParentContentNHotelNOfferChildren');
283 
284  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
285  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
286  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
287  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
288  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
289  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
290  }
291 
297  {
298  parent::createAndCopyParentContentWithHotelAndOfferChildren();
299  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
300  $this->‪assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
301 
302  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
303  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
304  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1 (copy 1)'));
305  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
306  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
307  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
308  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
309  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['copiedContentId'])->setRecordField(self::FIELD_ContentHotel)
310  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
311  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
312  ->setRecordIdentifier(self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'])->setRecordField(self::FIELD_HotelOffer)
313  ->setTable(self::TABLE_Offer)->setField('title')->setValues('Offer #1'));
314  }
315 
321  {
322  parent::createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent();
323  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
324  $this->‪assertAssertionDataSet('createNCopyParentNHotelNOfferChildrenNDiscardCopiedParent');
325 
326  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
327  $this->assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
328  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1 (copy 1)'));
329  }
330 
336  {
337  parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
338  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
339  $this->‪assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
340 
341  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseSections();
342  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
343  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Testing #1'));
344  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
345  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
346  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
347  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
348  ->setRecordIdentifier(self::TABLE_Hotel . ':' . $this->recordIds['localizedHotelId'])->setRecordField(self::FIELD_HotelOffer)
349  ->setTable(self::TABLE_Offer)->setField('title')->setValues('[Translate to Dansk:] Offer #1'));
350  }
351 
357  {
358  parent::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent();
359  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
360  $this->‪assertAssertionDataSet('createNLocParentNHotelNOfferChildrenNDiscardCreatedParent');
361 
362  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseSections();
363  $this->assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
364  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1', '[Translate to Dansk:] Testing #1'));
365  }
366 
372  {
373  parent::createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent();
374  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
375  $this->‪assertAssertionDataSet('createNLocParentNHotelNOfferChildrenNDiscardLocParent');
376 
377  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseSections();
378  $this->assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
379  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Testing #1'));
380  }
381 
386  public function ‪modifyOnlyHotelChild()
387  {
388  parent::modifyOnlyHotelChild();
389  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
390  $this->‪assertAssertionDataSet('modifyOnlyHotelChild');
391 
392  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
393  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
394  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
395  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Testing #1'));
396  }
397 
403  {
404  parent::modifyParentAndChangeHotelChildrenSorting();
405  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
406  $this->‪assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
407 
408  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
409  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
410  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
411  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #2', 'Hotel #1'));
412  }
413 
418  public function ‪modifyParentWithHotelChild()
419  {
420  parent::modifyParentWithHotelChild();
421  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
422  $this->‪assertAssertionDataSet('modifyParentNHotelChild');
423 
424  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
425  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
426  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
427  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Testing #1'));
428  }
429 
435  {
436  parent::modifyParentWithHotelChildAndDiscardModifiedParent();
437  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
438  $this->‪assertAssertionDataSet('modifyParentNHotelChildNDiscardModifiedParent');
439 
440  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
441  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
442  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
443  // Discarding the parent shall not discard the child records
444  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
445  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
446  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Testing #1'));
447  $this->assertThat($responseSections, $this->‪getRequestSectionStructureDoesNotHaveRecordConstraint()
448  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
449  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #2'));
450  }
451 
457  {
458  parent::modifyParentWithHotelChildAndDiscardAll();
459  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
460  $this->‪assertAssertionDataSet('modifyParentNHotelChildNDiscardAll');
461 
462  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
463  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
464  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1'));
465  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
466  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
467  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
468  }
469 
474  public function ‪modifyParentAndAddHotelChild()
475  {
476  parent::modifyParentAndAddHotelChild();
477  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
478  $this->‪assertAssertionDataSet('modifyParentNAddHotelChild');
479 
480  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
481  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
482  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
483  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
484  }
485 
490  public function ‪modifyParentAndDeleteHotelChild()
491  {
492  parent::modifyParentAndDeleteHotelChild();
493  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
494  $this->‪assertAssertionDataSet('modifyParentNDeleteHotelChild');
495 
496  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
497  $this->assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
498  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
499  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
500  $this->assertThat($responseSections, $this->‪getRequestSectionStructureDoesNotHaveRecordConstraint()
501  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
502  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #2'));
503  }
504 
510  {
511  parent::modifyAndDiscardAndModifyParentWithHotelChild();
512  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
513  $this->‪assertAssertionDataSet('modifyNDiscardNModifyParentWHotelChild');
514 
515  $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseSections();
516  $this->assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
517  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
518  $this->assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
519  ->setTable(self::TABLE_Hotel)->setField('header')->setValues('Testing #1'));
520  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
521  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #2'));
522  $this->assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
523  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Testing #2'));
524  }
525 }
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentWithHotelChild
‪modifyParentWithHotelChild()
Definition: ActionTest.php:417
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent
‪createAndCopyParentContentWithHotelAndOfferChildrenAndDiscardCopiedParent()
Definition: ActionTest.php:319
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyAndDiscardAndModifyParentWithHotelChild
‪modifyAndDiscardAndModifyParentWithHotelChild()
Definition: ActionTest.php:508
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionHasRecordConstraint
‪HasRecordConstraint getRequestSectionHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:174
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest
Definition: ActionTest.php:21
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureHasRecordConstraint
‪StructureHasRecordConstraint getRequestSectionStructureHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:190
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\deleteParentContent
‪deleteParentContent()
Definition: ActionTest.php:71
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\copyParentContent
‪copyParentContent()
Definition: ActionTest.php:101
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentWithHotelChildAndDiscardModifiedParent
‪modifyParentWithHotelChildAndDiscardModifiedParent()
Definition: ActionTest.php:433
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyOnlyHotelChild
‪modifyOnlyHotelChild()
Definition: ActionTest.php:385
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentAndAddHotelChild
‪modifyParentAndAddHotelChild()
Definition: ActionTest.php:473
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createAndCopyParentContentWithHotelAndOfferChildren
‪createAndCopyParentContentWithHotelAndOfferChildren()
Definition: ActionTest.php:295
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentWithHotelChildAndDiscardAll
‪modifyParentWithHotelChildAndDiscardAll()
Definition: ActionTest.php:455
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentAndDeleteHotelChild
‪modifyParentAndDeleteHotelChild()
Definition: ActionTest.php:489
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureDoesNotHaveRecordConstraint
‪StructureDoesNotHaveRecordConstraint getRequestSectionStructureDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:198
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\deleteParentContentAndDiscardDeletedParent
‪deleteParentContentAndDiscardDeletedParent()
Definition: ActionTest.php:86
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll
Definition: ActionTest.php:2
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\moveParentContentToDifferentPage
‪moveParentContentToDifferentPage()
Definition: ActionTest.php:168
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\copyPage
‪copyPage()
Definition: ActionTest.php:243
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createParentContent
‪createParentContent()
Definition: ActionTest.php:38
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createParentContentWithHotelAndOfferChildren
‪createParentContentWithHotelAndOfferChildren()
Definition: ActionTest.php:277
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\moveParentContentToDifferentPageAndChangeSorting
‪moveParentContentToDifferentPageAndChangeSorting()
Definition: ActionTest.php:186
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent
‪createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardCreatedParent()
Definition: ActionTest.php:355
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\assertAssertionDataSet
‪assertAssertionDataSet($dataSetName)
Definition: AbstractDataHandlerActionTestCase.php:124
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionDoesNotHaveRecordConstraint
‪DoesNotHaveRecordConstraint getRequestSectionDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:182
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\deletePage
‪deletePage()
Definition: ActionTest.php:229
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\AbstractActionTestCase
Definition: AbstractActionTestCase.php:21
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\changeParentContentSorting
‪changeParentContentSorting()
Definition: ActionTest.php:149
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentContent
‪modifyParentContent()
Definition: ActionTest.php:53
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent
‪createAndLocalizeParentContentWithHotelAndOfferChildrenAndDiscardLocalizedParent()
Definition: ActionTest.php:370
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyPage
‪modifyPage()
Definition: ActionTest.php:211
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\setUp
‪setUp()
Definition: ActionTest.php:29
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\localizeParentContentWithAllChildren
‪localizeParentContentWithAllChildren()
Definition: ActionTest.php:133
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\$assertionDataSetDirectory
‪string $assertionDataSetDirectory
Definition: ActionTest.php:24
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\modifyParentAndChangeHotelChildrenSorting
‪modifyParentAndChangeHotelChildrenSorting()
Definition: ActionTest.php:401
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\createAndLocalizeParentContentWithHotelAndOfferChildren
‪createAndLocalizeParentContentWithHotelAndOfferChildren()
Definition: ActionTest.php:334
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\copyPageWithHotelBeforeParentContent
‪copyPageWithHotelBeforeParentContent()
Definition: ActionTest.php:258
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\CSV\PublishAll\ActionTest\copyParentContentToDifferentPage
‪copyParentContentToDifferentPage()
Definition: ActionTest.php:117