‪TYPO3CMS  11.5
ActionTest.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 
21 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\InternalRequest;
22 use TYPO3\TestingFramework\Core\Functional\Framework\Frontend\ResponseContent;
23 
28 {
32  public function ‪verifyCleanReferenceIndex(): void
33  {
34  // The test verifies the imported data set has a clean reference index by the check in tearDown()
35  self::assertTrue(true);
36  }
37 
41  public function ‪addCategoryRelation(): void
42  {
43  parent::addCategoryRelation();
44  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
45  $this->assertCSVDataSet(__DIR__ . '/DataSet/addCategoryRelation.csv');
46 
47  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
48  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
49  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
50  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
51  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category A', 'Category B', 'Category A.A'));
52  }
53 
57  public function ‪deleteCategoryRelation(): void
58  {
59  parent::deleteCategoryRelation();
60  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
61  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteCategoryRelation.csv');
62 
63  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
64  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
65  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
66  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
67  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category A'));
68  self::assertThat($responseSections, $this->‪getRequestSectionStructureDoesNotHaveRecordConstraint()
69  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
70  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category B', 'Category C', 'Category A.A'));
71  }
72 
76  public function ‪changeCategoryRelationSorting(): void
77  {
78  parent::changeCategoryRelationSorting();
79  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
80  $this->assertCSVDataSet(__DIR__ . '/DataSet/changeCategoryRelationSorting.csv');
81 
82  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
83  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
84  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
85  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
86  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category A', 'Category B'));
87  }
88 
92  public function ‪createContentAndAddRelation(): void
93  {
94  parent::createContentAndAddRelation();
95  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
96  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentNAddRelation.csv');
97 
98  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
99  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
100  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
101  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
102  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
103  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField('categories')
104  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category B'));
105  }
106 
110  public function ‪createCategoryAndAddRelation(): void
111  {
112  parent::createCategoryAndAddRelation();
113  $this->actionService->publishRecord(self::TABLE_Category, $this->recordIds['newCategoryId']);
114  $this->assertCSVDataSet(__DIR__ . '/DataSet/createCategoryNAddRelation.csv');
115 
116  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
117  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
118  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
119  ->setTable(self::TABLE_Category)->setField('title')->setValues('Testing #1'));
120  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
121  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
122  ->setTable(self::TABLE_Category)->setField('title')->setValues('Testing #1'));
123  }
124 
128  public function ‪createContentAndCreateRelation(): void
129  {
130  parent::createContentAndCreateRelation();
131  $this->actionService->publishRecords([
132  self::TABLE_Category => [$this->recordIds['newCategoryId']],
133  self::TABLE_Content => [$this->recordIds['newContentId']],
134  ]);
135  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentNCreateRelation.csv');
136 
137  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
138  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
139  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
140  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
141  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
142  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField('categories')
143  ->setTable(self::TABLE_Category)->setField('title')->setValues('Testing #1'));
144  }
145 
149  public function ‪createCategoryAndCreateRelation(): void
150  {
151  parent::createCategoryAndCreateRelation();
152  $this->actionService->publishRecords([
153  self::TABLE_Content => [$this->recordIds['newContentId']],
154  self::TABLE_Category => [$this->recordIds['newCategoryId']],
155  ]);
156  $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
157  $this->assertCSVDataSet(__DIR__ . '/DataSet/createCategoryNCreateRelation.csv');
158  }
159 
164  {
165  parent::createContentWithCategoryAndAddRelation();
166  $this->actionService->publishRecords([
167  self::TABLE_Category => [$this->recordIds['newCategoryId']],
168  self::TABLE_Content => [$this->recordIds['newContentId']],
169  ]);
170  $this->assertCSVDataSet(__DIR__ . '/DataSet/createContentWCategoryNAddRelation.csv');
171  }
172 
177  {
178  parent::createCategoryWithContentAndAddRelation();
179  $this->actionService->publishRecords([
180  self::TABLE_Content => [$this->recordIds['newContentId']],
181  self::TABLE_Category => [$this->recordIds['newCategoryId']],
182  ]);
183  $this->assertCSVDataSet(__DIR__ . '/DataSet/createCategoryWContentNAddRelation.csv');
184  }
185 
189  public function ‪modifyCategoryOfRelation(): void
190  {
191  parent::modifyCategoryOfRelation();
192  $this->actionService->publishRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst);
193  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyCategoryOfRelation.csv');
194 
195  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
196  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
197  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
198  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
199  ->setTable(self::TABLE_Category)->setField('title')->setValues('Testing #1', 'Category B'));
200  }
201 
205  public function ‪modifyContentOfRelation(): void
206  {
207  parent::modifyContentOfRelation();
208  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
209  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyContentOfRelation.csv');
210 
211  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
212  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
213  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
214  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
215  }
216 
220  public function ‪modifyBothsOfRelation(): void
221  {
222  parent::modifyBothsOfRelation();
223  $this->actionService->publishRecords([
224  self::TABLE_Content => [self::VALUE_ContentIdFirst],
225  self::TABLE_Category => [self::VALUE_CategoryIdFirst],
226  ]);
227  $this->assertCSVDataSet(__DIR__ . '/DataSet/modifyBothsOfRelation.csv');
228 
229  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
230  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
231  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
232  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
233  ->setTable(self::TABLE_Category)->setField('title')->setValues('Testing #1', 'Category B'));
234  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
235  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
236  }
237 
241  public function ‪deleteContentOfRelation(): void
242  {
243  parent::deleteContentOfRelation();
244  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
245  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteContentOfRelation.csv');
246 
247  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
248  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
249  self::assertThat($responseSections, $this->‪getRequestSectionDoesNotHaveRecordConstraint()
250  ->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
251  }
252 
256  public function ‪deleteCategoryOfRelation(): void
257  {
258  parent::deleteCategoryOfRelation();
259  $this->actionService->publishRecord(self::TABLE_Category, self::VALUE_CategoryIdFirst);
260  $this->assertCSVDataSet(__DIR__ . '/DataSet/deleteCategoryOfRelation.csv');
261 
262  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
263  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
264  self::assertThat($responseSections, $this->‪getRequestSectionStructureDoesNotHaveRecordConstraint()
265  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
266  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category A'));
267  }
268 
272  public function ‪copyContentOfRelation(): void
273  {
274  parent::copyContentOfRelation();
275  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['newContentId']);
276  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyContentOfRelation.csv');
277 
278  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
279  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
280  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
281  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentId'])->setRecordField('categories')
282  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category B', 'Category C'));
283  }
284 
288  public function ‪copyCategoryOfRelation(): void
289  {
290  parent::copyCategoryOfRelation();
291  $this->actionService->publishRecord(self::TABLE_Category, $this->recordIds['newCategoryId']);
292  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyCategoryOfRelation.csv');
293 
294  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId));
295  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
296  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
297  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
298  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category A', 'Category A (copy 1)'));
299  }
300 
304  public function ‪localizeContentOfRelation(): void
305  {
306  parent::localizeContentOfRelation();
307  $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
308  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeContentOfRelation.csv');
309 
310  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
311  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
312  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
313  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField('categories')
314  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category B', 'Category C'));
315  }
316 
320  public function ‪localizeCategoryOfRelation(): void
321  {
322  // Create and publish translated page first
323  $translatedPageResult = $this->actionService->copyRecordToLanguage(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
324  $this->actionService->publishRecord(self::TABLE_Page, $translatedPageResult[self::TABLE_Page][self::VALUE_PageId]);
325  parent::localizeCategoryOfRelation();
326  $this->actionService->publishRecord(self::TABLE_Category, $this->recordIds['localizedCategoryId']);
327  $this->assertCSVDataSet(__DIR__ . '/DataSet/localizeCategoryOfRelation.csv');
328 
329  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageId)->withLanguageId(self::VALUE_LanguageId));
330  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
331  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
332  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField('categories')
333  ->setTable(self::TABLE_Category)->setField('title')->setValues('[Translate to Dansk:] Category A', 'Category B'));
334  }
335 
340  {
341  parent::moveContentOfRelationToDifferentPage();
342  $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdLast);
343  $this->assertCSVDataSet(__DIR__ . '/DataSet/moveContentOfRelationToDifferentPage.csv');
344 
345  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId(self::VALUE_PageIdTarget));
346  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
347  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
348  ->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField('categories')
349  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category B', 'Category C'));
350  }
351 
355  public function ‪copyPage(): void
356  {
357  parent::copyPage();
358  $this->actionService->publishRecords([
359  self::TABLE_Page => [$this->recordIds['newPageId']],
360  self::TABLE_Content => [$this->recordIds['newContentIdFirst'], $this->recordIds['newContentIdLast']],
361  ]);
362  $this->assertCSVDataSet(__DIR__ . '/DataSet/copyPage.csv');
363 
364  $response = $this->executeFrontendSubRequest((new InternalRequest())->withPageId($this->recordIds['newPageId']));
365  $responseSections = ResponseContent::fromString((string)$response->getBody())->getSections();
366  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
367  ->setTable(self::TABLE_Page)->setField('title')->setValues('Relations'));
368  self::assertThat($responseSections, $this->‪getRequestSectionHasRecordConstraint()
369  ->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #1', 'Regular Element #2'));
370  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
371  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentIdFirst'])->setRecordField('categories')
372  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category A', 'Category B'));
373  self::assertThat($responseSections, $this->‪getRequestSectionStructureHasRecordConstraint()
374  ->setRecordIdentifier(self::TABLE_Content . ':' . $this->recordIds['newContentIdLast'])->setRecordField('categories')
375  ->setTable(self::TABLE_Category)->setField('title')->setValues('Category B', 'Category C'));
376  }
377 }
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\copyPage
‪copyPage()
Definition: ActionTest.php:355
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\createCategoryAndCreateRelation
‪createCategoryAndCreateRelation()
Definition: ActionTest.php:149
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\createCategoryAndAddRelation
‪createCategoryAndAddRelation()
Definition: ActionTest.php:110
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionHasRecordConstraint
‪HasRecordConstraint getRequestSectionHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:245
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\createCategoryWithContentAndAddRelation
‪createCategoryWithContentAndAddRelation()
Definition: ActionTest.php:176
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\copyContentOfRelation
‪copyContentOfRelation()
Definition: ActionTest.php:272
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish
Definition: ActionTest.php:18
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\modifyContentOfRelation
‪modifyContentOfRelation()
Definition: ActionTest.php:205
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureHasRecordConstraint
‪StructureHasRecordConstraint getRequestSectionStructureHasRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:261
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\deleteCategoryOfRelation
‪deleteCategoryOfRelation()
Definition: ActionTest.php:256
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\verifyCleanReferenceIndex
‪verifyCleanReferenceIndex()
Definition: ActionTest.php:32
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\modifyCategoryOfRelation
‪modifyCategoryOfRelation()
Definition: ActionTest.php:189
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\changeCategoryRelationSorting
‪changeCategoryRelationSorting()
Definition: ActionTest.php:76
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\createContentAndAddRelation
‪createContentAndAddRelation()
Definition: ActionTest.php:92
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\moveContentOfRelationToDifferentPage
‪moveContentOfRelationToDifferentPage()
Definition: ActionTest.php:339
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionStructureDoesNotHaveRecordConstraint
‪StructureDoesNotHaveRecordConstraint getRequestSectionStructureDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:269
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\copyCategoryOfRelation
‪copyCategoryOfRelation()
Definition: ActionTest.php:288
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\deleteCategoryRelation
‪deleteCategoryRelation()
Definition: ActionTest.php:57
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\modifyBothsOfRelation
‪modifyBothsOfRelation()
Definition: ActionTest.php:220
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\AbstractActionTestCase
Definition: AbstractActionTestCase.php:24
‪TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCase\getRequestSectionDoesNotHaveRecordConstraint
‪DoesNotHaveRecordConstraint getRequestSectionDoesNotHaveRecordConstraint()
Definition: AbstractDataHandlerActionTestCase.php:253
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\localizeCategoryOfRelation
‪localizeCategoryOfRelation()
Definition: ActionTest.php:320
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\deleteContentOfRelation
‪deleteContentOfRelation()
Definition: ActionTest.php:241
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\createContentAndCreateRelation
‪createContentAndCreateRelation()
Definition: ActionTest.php:128
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\createContentWithCategoryAndAddRelation
‪createContentWithCategoryAndAddRelation()
Definition: ActionTest.php:163
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest
Definition: ActionTest.php:28
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\addCategoryRelation
‪addCategoryRelation()
Definition: ActionTest.php:41
‪TYPO3\CMS\Workspaces\Tests\Functional\DataHandling\ManyToMany\Publish\ActionTest\localizeContentOfRelation
‪localizeContentOfRelation()
Definition: ActionTest.php:304