‪TYPO3CMS  10.4
ActionTest.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
20 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequestContext;
21 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent;
22 
27 {
31  protected ‪$assertionDataSetDirectory = 'typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/Publish/DataSet/';
32 
36  protected ‪$assertCleanReferenceIndex = false;
37 
41  public function ‪createParentContent()
42  {
43  parent::createParentContent();
44  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
45  $this->‪assertAssertionDataSet('createParentContent');
46 
47  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
48  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
49  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
50  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
51  }
52 
56  public function ‪modifyParentContent()
57  {
58  parent::modifyParentContent();
59  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
60  $this->‪assertAssertionDataSet('modifyParentContent');
61 
62  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
63  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
64  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
65  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
66  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
67  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
68  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
69  }
70 
74  public function ‪deleteParentContent()
75  {
76  parent::deleteParentContent();
77  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
78  $this->‪assertAssertionDataSet('deleteParentContent');
79 
80  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
81  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
82  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
83  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
84  }
85 
89  public function ‪copyParentContent()
90  {
91  parent::copyParentContent();
92  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
93  $this->‪assertAssertionDataSet('copyParentContent');
94 
95  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
96  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
97  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
98  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
99  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
100  }
101 
105  public function ‪copyParentContentToDifferentPage()
106  {
107  parent::copyParentContentToDifferentPage();
108  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
109  $this->‪assertAssertionDataSet('copyParentContentToDifferentPage');
110 
111  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
112  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
113  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
114  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
115  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
116  }
117 
122  {
123  // Create and publish translated page first
124  $translatedPageResult = $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
125  $this->actionService->publishRecord(self::TABLE_Page, $translatedPageResult[self::TABLE_Page][self::VALUE_PageId]);
126  parent::localizeParentContentWithAllChildren();
127  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
128  $this->‪assertAssertionDataSet('localizeParentContentWAllChildren');
129 
130  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
131  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
132  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
133  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
134  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
135  }
136 
140  public function ‪changeParentContentSorting()
141  {
142  parent::changeParentContentSorting();
143  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
144  $this->‪assertAssertionDataSet('changeParentContentSorting');
145 
146  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
147  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
148  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
149  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
150  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
151  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
152  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
153  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
154  }
155 
159  public function ‪moveParentContentToDifferentPage()
160  {
161  parent::moveParentContentToDifferentPage();
162  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
163  $this->‪assertAssertionDataSet('moveParentContentToDifferentPage');
164 
165  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
166  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
167  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
168  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
169 
170  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
171  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
172  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
173  }
174 
179  {
180  parent::moveParentContentToDifferentPageTwice();
181  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
182  $this->‪assertAssertionDataSet('moveParentContentToDifferentPageTwice');
183  }
184 
189  {
190  parent::moveParentContentToDifferentPageAndChangeSorting();
191  $this->actionService->publishRecords(
192  [
193  self::TABLE_Content => [self::VALUE_ContentIdFirst, self::VALUE_ContentIdLast],
194  ]
195  );
196  $this->‪assertAssertionDataSet('moveParentContentToDifferentPageNChangeSorting');
197 
198  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
199  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
200  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
201  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2', 'Regular Element #1'));
202  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
203  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
204  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
205  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
206  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
207  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
208  }
209 
217  public function ‪modifyPage()
218  {
219  parent::modifyPage();
220  $this->actionService->publishRecord(self::TABLE_Page, self::VALUE_PageId);
221  $this->‪assertAssertionDataSet('modifyPage');
222 
223  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
224  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
225  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
226  ->setTable(self::TABLE_Page)->setField('title')->setValues('Testing #1'));
227  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
228  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
229  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
230  }
231 
235  public function ‪deletePage()
236  {
237  parent::deletePage();
238  $this->actionService->publishRecord(self::TABLE_Page, self::VALUE_PageId);
239  $this->‪assertAssertionDataSet('deletePage');
240 
241  $response = $this->executeFrontendRequest(
242  (new InternalRequest())->withPageId(self::VALUE_PageId)
243  );
244  self::assertEquals(404, $response->getStatusCode());
245  }
246 
250  public function ‪copyPage()
251  {
252  parent::copyPage();
253  $this->actionService->publishRecords(
254  [
255  self::TABLE_Page => [$this->recordIds['newPageId']],
256  self::TABLE_Content => [$this->recordIds['newContentIdFirst'], $this->recordIds['newContentIdLast']],
257  ]
258  );
259  $this->‪assertAssertionDataSet('copyPage');
260 
261  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
262  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
263  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
264  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2', 'Hotel #1'));
265  }
266 
271  {
272  parent::copyPageWithHotelBeforeParentContent();
273  $this->actionService->publishRecords(
274  [
275  self::TABLE_Page => [$this->recordIds['newPageId']],
276  self::TABLE_Content => [$this->recordIds['newContentIdFirst'], $this->recordIds['newContentIdLast']],
277  ]
278  );
279  $this->‪assertAssertionDataSet('copyPageWHotelBeforeParentContent');
280 
281  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
282  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
283  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
284  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2', 'Hotel #1'));
285  }
286 
295  {
296  parent::createParentContentWithHotelAndOfferChildren();
297  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
298  $this->‪assertAssertionDataSet('createParentContentNHotelNOfferChildren');
299 
300  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
301  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
302  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
303  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
304  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
305  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
306  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
307  }
308 
313  {
314  parent::createAndCopyParentContentWithHotelAndOfferChildren();
315  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
316  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['copiedContentId']);
317  $this->‪assertAssertionDataSet('createNCopyParentContentNHotelNOfferChildren');
318 
319  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
320  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
321  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
322  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1 (copy 1)'));
323  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
324  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
325  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
326  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
327  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['copiedContentId'])->setRecordField(self::FIELD_ContentHotel)
328  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
329  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
330  ->setRecordIdentifier(self::TABLE_Hotel . ':' . $this->recordIds['copiedHotelId'])->setRecordField(self::FIELD_HotelOffer)
331  ->setTable(self::TABLE_Offer)->setField('title')->setValues('Offer #1'));
332  }
333 
338  {
339  // Create and publish translated page first
340  $translatedPageResult = $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
341  $this->actionService->publishRecord(self::TABLE_Page, $translatedPageResult[self::TABLE_Page][self::VALUE_PageId]);
342  parent::createAndLocalizeParentContentWithHotelAndOfferChildren();
343  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
344  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
345  $this->‪assertAssertionDataSet('createNLocalizeParentContentNHotelNOfferChildren');
346 
347  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
348  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
349  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
350  ->setTable(self::TABLE_Content)->setField('header')->setValues('[Translate to Dansk:] Testing #1'));
351  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
352  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField(self::FIELD_ContentHotel)
353  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
354  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
355  ->setRecordIdentifier(self::TABLE_Hotel . ':' . $this->recordIds['newHotelId'])->setRecordField(self::FIELD_HotelOffer)
356  ->setTable(self::TABLE_Offer)->setField('title')->setValues('[Translate to Dansk:] Offer #1'));
357  }
358 
362  public function ‪modifyOnlyHotelChild()
363  {
364  parent::modifyOnlyHotelChild();
365  $this->actionService->publishRecord(self::TABLE_Hotel, 4);
366  $this->‪assertAssertionDataSet('modifyOnlyHotelChild');
367 
368  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
369  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
370  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
371  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
372  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Testing #1'));
373  }
374 
379  {
380  parent::modifyParentAndChangeHotelChildrenSorting();
381  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
382  $this->‪assertAssertionDataSet('modifyParentNChangeHotelChildrenSorting');
383 
384  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
385  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
386  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
387  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
388  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #2', 'Hotel #1'));
389  }
390 
394  public function ‪modifyParentWithHotelChild()
395  {
396  parent::modifyParentWithHotelChild();
397  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
398  $this->‪assertAssertionDataSet('modifyParentNHotelChild');
399 
400  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
401  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
402  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
403  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)
404  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Testing #1'));
405  }
406 
410  public function ‪modifyParentAndAddHotelChild()
411  {
412  parent::modifyParentAndAddHotelChild();
413  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
414  $this->‪assertAssertionDataSet('modifyParentNAddHotelChild');
415 
416  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
417  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
418  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
419  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
420  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Hotel #2'));
421  }
422 
426  public function ‪modifyParentAndDeleteHotelChild()
427  {
428  parent::modifyParentAndDeleteHotelChild();
429  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
430  $this->‪assertAssertionDataSet('modifyParentNDeleteHotelChild');
431 
432  $response = $this->executeFrontendRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
433  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
434  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
435  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
436  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1'));
437  self::assertThat($responseSections, $this->‪getRequestSectionStructureDoesNotHaveRecordConstraint()
438  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)
439  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #2'));
440  }
441 
446  {
447  parent::modifyAndDiscardAndModifyParentWithHotelChild();
448  $this->actionService->publishRecords(
449  [
450  self::TABLE_Content => [self::VALUE_ContentIdFirst],
451  self::TABLE_Hotel => [3, 4],
452  ]
453  );
454  $this->‪assertAssertionDataSet('modifyNDiscardNModifyParentWHotelChild');
455 
456  $response = $this->executeFrontendRequest(
457  (new InternalRequest())->withPageId(self::VALUE_PageId),
458  (new InternalRequestContext())->withBackendUserId(self::VALUE_BackendUserId)->withWorkspaceId(self::VALUE_WorkspaceId)
459  );
460  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections('Default', 'Extbase:list()');
461  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
462  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
463  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
464  ->setTable(self::TABLE_Hotel)->setField('header')->setValues('Testing #1'));
465  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
466  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #2'));
467  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
468  ->setTable(self::TABLE_Hotel)->setField('title')->setValues('Testing #2'));
469  }
470 }
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionHasRecordConstraint
‪HasRecordConstraint getRequestSectionHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:289
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\createAndLocalizeParentContentWithHotelAndOfferChildren
‪createAndLocalizeParentContentWithHotelAndOfferChildren()
Definition: ActionTest.php:335
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyParentAndDeleteHotelChild
‪modifyParentAndDeleteHotelChild()
Definition: ActionTest.php:424
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureHasRecordConstraint
‪StructureHasRecordConstraint getRequestSectionStructureHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:305
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\moveParentContentToDifferentPage
‪moveParentContentToDifferentPage()
Definition: ActionTest.php:157
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\copyParentContent
‪copyParentContent()
Definition: ActionTest.php:87
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyParentContent
‪modifyParentContent()
Definition: ActionTest.php:54
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyPage
‪modifyPage()
Definition: ActionTest.php:215
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\$assertionDataSetDirectory
‪string $assertionDataSetDirectory
Definition: ActionTest.php:30
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\localizeParentContentWithAllChildren
‪localizeParentContentWithAllChildren()
Definition: ActionTest.php:119
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureDoesNotHaveRecordConstraint
‪StructureDoesNotHaveRecordConstraint getRequestSectionStructureDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:313
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\moveParentContentToDifferentPageTwice
‪moveParentContentToDifferentPageTwice()
Definition: ActionTest.php:176
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\AbstractActionTestCase
Definition: AbstractActionTestCase.php:22
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyOnlyHotelChild
‪modifyOnlyHotelChild()
Definition: ActionTest.php:360
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\$assertCleanReferenceIndex
‪bool $assertCleanReferenceIndex
Definition: ActionTest.php:34
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\deleteParentContent
‪deleteParentContent()
Definition: ActionTest.php:72
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\createAndCopyParentContentWithHotelAndOfferChildren
‪createAndCopyParentContentWithHotelAndOfferChildren()
Definition: ActionTest.php:310
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\moveParentContentToDifferentPageAndChangeSorting
‪moveParentContentToDifferentPageAndChangeSorting()
Definition: ActionTest.php:186
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\createParentContentWithHotelAndOfferChildren
‪createParentContentWithHotelAndOfferChildren()
Definition: ActionTest.php:292
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyParentWithHotelChild
‪modifyParentWithHotelChild()
Definition: ActionTest.php:392
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\assertAssertionDataSet
‪assertAssertionDataSet($dataSetName)
Definition: AbstractDataHandlerActionTestCase.php:208
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyParentAndAddHotelChild
‪modifyParentAndAddHotelChild()
Definition: ActionTest.php:408
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionDoesNotHaveRecordConstraint
‪DoesNotHaveRecordConstraint getRequestSectionDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:297
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\copyPage
‪copyPage()
Definition: ActionTest.php:248
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\deletePage
‪deletePage()
Definition: ActionTest.php:233
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\copyPageWithHotelBeforeParentContent
‪copyPageWithHotelBeforeParentContent()
Definition: ActionTest.php:268
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\changeParentContentSorting
‪changeParentContentSorting()
Definition: ActionTest.php:138
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyParentAndChangeHotelChildrenSorting
‪modifyParentAndChangeHotelChildrenSorting()
Definition: ActionTest.php:376
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish
Definition: ActionTest.php:16
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\createParentContent
‪createParentContent()
Definition: ActionTest.php:39
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\copyParentContentToDifferentPage
‪copyParentContentToDifferentPage()
Definition: ActionTest.php:103
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest\modifyAndDiscardAndModifyParentWithHotelChild
‪modifyAndDiscardAndModifyParentWithHotelChild()
Definition: ActionTest.php:443
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\IRRE\ForeignField\Publish\ActionTest
Definition: ActionTest.php:27