‪TYPO3CMS  11.5
FrontendConfigurationManagerTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
20 use PHPUnit\Framework\MockObject\MockObject;
24 use TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer;
25 use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
26 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
27 
31 class ‪FrontendConfigurationManagerTest extends UnitTestCase
32 {
36  protected ‪$mockContentObject;
37 
42 
46  protected ‪$mockTypoScriptService;
47 
51  protected function ‪setUp(): void
52  {
53  parent::setUp();
54  ‪$GLOBALS['TSFE'] = new \stdClass();
55  ‪$GLOBALS['TSFE']->tmpl = new \stdClass();
56  $this->mockContentObject = $this->getMockBuilder(ContentObjectRenderer::class)
57  ->onlyMethods(['getTreeList'])
58  ->getMock();
59  $this->frontendConfigurationManager = $this->getAccessibleMock(
60  FrontendConfigurationManager::class,
61  ['dummy'],
62  [],
63  '',
64  false
65  );
66  $this->frontendConfigurationManager->_set('contentObject', $this->mockContentObject);
67  $this->mockTypoScriptService = $this->getMockBuilder(TypoScriptService::class)->getMock();
68  $this->frontendConfigurationManager->_set('typoScriptService', $this->mockTypoScriptService);
69  }
70 
74  public function ‪getTypoScriptSetupReturnsSetupFromTsfe(): void
75  {
76  ‪$GLOBALS['TSFE']->tmpl->setup = ['foo' => 'bar'];
77  self::assertEquals(['foo' => 'bar'], $this->frontendConfigurationManager->_call('getTypoScriptSetup'));
78  }
79 
84  {
85  ‪$GLOBALS['TSFE']->tmpl->setup = ['foo' => 'bar'];
86  $expectedResult = [];
87  $actualResult = $this->frontendConfigurationManager->_call(
88  'getPluginConfiguration',
89  'SomeExtensionName',
90  'SomePluginName'
91  );
92  self::assertEquals($expectedResult, $actualResult);
93  }
94 
99  {
100  $testSettings = [
101  'settings.' => [
102  'foo' => 'bar',
103  ],
104  ];
105  $testSettingsConverted = [
106  'settings' => [
107  'foo' => 'bar',
108  ],
109  ];
110  $testSetup = [
111  'plugin.' => [
112  'tx_someextensionname.' => $testSettings,
113  ],
114  ];
115  $this->mockTypoScriptService->method('convertTypoScriptArrayToPlainArray')->with($testSettings)->willReturn($testSettingsConverted);
116  ‪$GLOBALS['TSFE']->tmpl->setup = $testSetup;
117  $expectedResult = [
118  'settings' => [
119  'foo' => 'bar',
120  ],
121  ];
122  $actualResult = $this->frontendConfigurationManager->_call('getPluginConfiguration', 'SomeExtensionName');
123  self::assertEquals($expectedResult, $actualResult);
124  }
125 
130  {
131  $testSettings = [
132  'settings.' => [
133  'foo' => 'bar',
134  ],
135  ];
136  $testSettingsConverted = [
137  'settings' => [
138  'foo' => 'bar',
139  ],
140  ];
141  $testSetup = [
142  'plugin.' => [
143  'tx_someextensionname_somepluginname.' => $testSettings,
144  ],
145  ];
146  $this->mockTypoScriptService->method('convertTypoScriptArrayToPlainArray')->with($testSettings)->willReturn($testSettingsConverted);
147  ‪$GLOBALS['TSFE']->tmpl->setup = $testSetup;
148  $expectedResult = [
149  'settings' => [
150  'foo' => 'bar',
151  ],
152  ];
153  $actualResult = $this->frontendConfigurationManager->_call(
154  'getPluginConfiguration',
155  'SomeExtensionName',
156  'SomePluginName'
157  );
158  self::assertEquals($expectedResult, $actualResult);
159  }
160 
165  {
166  $testExtensionSettings = [
167  'settings.' => [
168  'foo' => 'bar',
169  'some.' => [
170  'nested' => 'value',
171  ],
172  ],
173  ];
174  $testExtensionSettingsConverted = [
175  'settings' => [
176  'foo' => 'bar',
177  'some' => [
178  'nested' => 'value',
179  ],
180  ],
181  ];
182  $testPluginSettings = [
183  'settings.' => [
184  'some.' => [
185  'nested' => 'valueOverride',
186  'new' => 'value',
187  ],
188  ],
189  ];
190  $testPluginSettingsConverted = [
191  'settings' => [
192  'some' => [
193  'nested' => 'valueOverride',
194  'new' => 'value',
195  ],
196  ],
197  ];
198  $testSetup = [
199  'plugin.' => [
200  'tx_someextensionname.' => $testExtensionSettings,
201  'tx_someextensionname_somepluginname.' => $testPluginSettings,
202  ],
203  ];
204  $this->mockTypoScriptService->expects(self::exactly(2))->method('convertTypoScriptArrayToPlainArray')
205  ->withConsecutive([$testExtensionSettings], [$testPluginSettings])
206  ->willReturnOnConsecutiveCalls($testExtensionSettingsConverted, $testPluginSettingsConverted);
207  ‪$GLOBALS['TSFE']->tmpl->setup = $testSetup;
208  $expectedResult = [
209  'settings' => [
210  'foo' => 'bar',
211  'some' => [
212  'nested' => 'valueOverride',
213  'new' => 'value',
214  ],
215  ],
216  ];
217  $actualResult = $this->frontendConfigurationManager->_call(
218  'getPluginConfiguration',
219  'SomeExtensionName',
220  'SomePluginName'
221  );
222  self::assertEquals($expectedResult, $actualResult);
223  }
224 
229  {
230  ‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase'] = null;
231  $expectedResult = [];
232  $actualResult = $this->frontendConfigurationManager->_call(
233  'getControllerConfiguration',
234  'SomeExtensionName',
235  'SomePluginName'
236  );
237  self::assertEquals($expectedResult, $actualResult);
238  }
239 
244  {
245  $controllerConfiguration = [
246  'Controller1' => [
247  'actions' => [
248  'action1',
249  'action2',
250  ],
251  'nonCacheableActions' => [
252  'action1',
253  ],
254  ],
255  'Controller2' => [
256  'actions' => [
257  'action3',
258  'action4',
259  ],
260  ],
261  ];
262  ‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['SomeExtensionName']['plugins']['SomePluginName']['controllers'] = $controllerConfiguration;
263  $expectedResult = $controllerConfiguration;
264  $actualResult = $this->frontendConfigurationManager->_call(
265  'getControllerConfiguration',
266  'SomeExtensionName',
267  'SomePluginName'
268  );
269  self::assertEquals($expectedResult, $actualResult);
270  }
271 
276  {
277  $frameworkConfiguration = [
278  'some' => [
279  'framework' => 'configuration',
280  ],
281  ];
282  ‪$frontendConfigurationManager = $this->getAccessibleMock(
283  FrontendConfigurationManager::class,
284  [
285  'overrideStoragePidIfStartingPointIsSet',
286  'overrideConfigurationFromPlugin',
287  'overrideConfigurationFromFlexForm',
288  ],
289  [],
290  '',
291  false
292  );
293  ‪$frontendConfigurationManager->expects(self::once())->method('overrideStoragePidIfStartingPointIsSet')->with($frameworkConfiguration)->willReturn(['overridden' => 'storagePid']);
294  ‪$frontendConfigurationManager->expects(self::once())->method('overrideConfigurationFromPlugin')->with(['overridden' => 'storagePid'])->willReturn(['overridden' => 'pluginConfiguration']);
295  ‪$frontendConfigurationManager->expects(self::once())->method('overrideConfigurationFromFlexForm')->with(['overridden' => 'pluginConfiguration'])->willReturn(['overridden' => 'flexFormConfiguration']);
296  $expectedResult = ['overridden' => 'flexFormConfiguration'];
297  $actualResult = ‪$frontendConfigurationManager->_call(
298  'getContextSpecificFrameworkConfiguration',
299  $frameworkConfiguration
300  );
301  self::assertEquals($expectedResult, $actualResult);
302  }
303 
308  {
309  $storagePids = [3, 5, 9];
310  $recursive = 99;
311  $abstractConfigurationManager = $this->getAccessibleMock(
312  FrontendConfigurationManager::class,
313  [
314  'getContextSpecificFrameworkConfiguration',
315  'getTypoScriptSetup',
316  'getPluginConfiguration',
317  'getControllerConfiguration',
318  ],
319  [],
320  '',
321  false
322  );
323  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
324  $cObjectMock
325  ->method('getTreeList')
326  ->will(self::onConsecutiveCalls('4', '', '898,12'));
327  $abstractConfigurationManager->setContentObject($cObjectMock);
328 
329  $expectedResult = [4, 898, 12];
330  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids, $recursive);
331  self::assertEquals($expectedResult, $actualResult);
332  }
333 
338  {
339  $storagePids = [-3, 5, 9];
340  $recursive = 99;
341  $abstractConfigurationManager = $this->getAccessibleMock(
342  FrontendConfigurationManager::class,
343  [
344  'getContextSpecificFrameworkConfiguration',
345  'getTypoScriptSetup',
346  'getPluginConfiguration',
347  'getControllerConfiguration',
348  ],
349  [],
350  '',
351  false
352  );
353  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
354  $cObjectMock
355  ->method('getTreeList')
356  ->will(self::onConsecutiveCalls('3,4', '', '898,12'));
357  $abstractConfigurationManager->setContentObject($cObjectMock);
358 
359  $expectedResult = [3, 4, 898, 12];
360  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids, $recursive);
361  self::assertEquals($expectedResult, $actualResult);
362  }
363 
368  {
369  $storagePids = [1, 2, 3];
370 
371  $abstractConfigurationManager = $this->getAccessibleMock(
372  FrontendConfigurationManager::class,
373  [
374  'getContextSpecificFrameworkConfiguration',
375  'getTypoScriptSetup',
376  'getPluginConfiguration',
377  'getControllerConfiguration',
378  ],
379  [],
380  '',
381  false
382  );
383  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
384  $cObjectMock->expects(self::never())->method('getTreeList');
385  $abstractConfigurationManager->setContentObject($cObjectMock);
386 
387  $expectedResult = [1, 2, 3];
388  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids);
389  self::assertEquals($expectedResult, $actualResult);
390  }
391 
396  {
397  $storagePids = [1, 2, 3];
398  $recursive = 0;
399 
400  $abstractConfigurationManager = $this->getAccessibleMock(
401  FrontendConfigurationManager::class,
402  [
403  'getContextSpecificFrameworkConfiguration',
404  'getTypoScriptSetup',
405  'getPluginConfiguration',
406  'getControllerConfiguration',
407  ],
408  [],
409  '',
410  false
411  );
412 
413  $cObjectMock = $this->createMock(ContentObjectRenderer::class);
414  $cObjectMock->expects(self::never())->method('getTreeList');
415  $abstractConfigurationManager->setContentObject($cObjectMock);
416 
417  $expectedResult = [1, 2, 3];
418  $actualResult = $abstractConfigurationManager->_call('getRecursiveStoragePids', $storagePids, $recursive);
419  self::assertEquals($expectedResult, $actualResult);
420  }
421 
426  {
427  $configuration = [
428  'persistence' => [
429  'storagePid' => '0,1,2,3',
430  ],
431  ];
432 
433  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
434  self::assertSame(
435  ['persistence' => ['storagePid' => '0,1,2,3']],
436  $this->frontendConfigurationManager->_call(
437  'mergeConfigurationIntoFrameworkConfiguration',
438  $frameworkConfiguration,
439  $configuration,
440  'persistence'
441  )
442  );
443  }
444 
449  {
450  $this->mockContentObject->method('getTreeList')->willReturn('1,2,3');
451  $this->mockContentObject->data = ['pages' => '0', 'recursive' => 1];
452 
453  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
454  self::assertSame(
455  ['persistence' => ['storagePid' => '0,1,2,3']],
456  $this->frontendConfigurationManager->_call(
457  'overrideStoragePidIfStartingPointIsSet',
458  $frameworkConfiguration
459  )
460  );
461  }
462 
467  {
468  $this->mockContentObject->method('getTreeList')->willReturn('');
469  $this->mockContentObject->data = ['pages' => '0', 'recursive' => 1];
470 
471  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
472  self::assertSame(
473  ['persistence' => ['storagePid' => '0']],
474  $this->frontendConfigurationManager->_call(
475  'overrideStoragePidIfStartingPointIsSet',
476  $frameworkConfiguration
477  )
478  );
479  }
480 
485  {
486  $flexFormService = $this->getMockBuilder(FlexFormService::class)
487  ->onlyMethods(['convertFlexFormContentToArray'])
488  ->getMock();
489  $flexFormService->expects(self::once())->method('convertFlexFormContentToArray')->willReturn([
490  'persistence' => [
491  'storagePid' => '0,1,2,3',
492  ],
493  ]);
494 
495  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
496  $this->mockContentObject->data = ['pi_flexform' => '<XML_ARRAY>'];
497 
498  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
499  self::assertSame(
500  ['persistence' => ['storagePid' => '0,1,2,3']],
501  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
502  );
503  }
504 
509  {
510  $flexFormService = $this->getMockBuilder(FlexFormService::class)
511  ->onlyMethods(['convertFlexFormContentToArray'])
512  ->getMock();
513  $flexFormService->expects(self::never())->method('convertFlexFormContentToArray');
514 
515  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
516  $this->mockContentObject->data = ['pi_flexform' => ''];
517 
518  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
519  self::assertSame(
520  ['persistence' => ['storagePid' => '98']],
521  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
522  );
523  }
524 
529  {
530  $flexFormService = $this->getMockBuilder(FlexFormService::class)
531  ->onlyMethods(['convertFlexFormContentToArray'])
532  ->getMock();
533  $flexFormService->expects(self::never())->method('convertFlexFormContentToArray');
534 
535  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
536  $this->mockContentObject->data = ['pi_flexform' => ['persistence' => ['storagePid' => '0,1,2,3']]];
537 
538  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
539  self::assertSame(
540  ['persistence' => ['storagePid' => '0,1,2,3']],
541  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
542  );
543  }
544 
549  {
550  $flexFormService = $this->getMockBuilder(FlexFormService::class)
551  ->onlyMethods(['convertFlexFormContentToArray'])
552  ->getMock();
553  $flexFormService->expects(self::never())->method('convertFlexFormContentToArray');
554 
555  $this->frontendConfigurationManager->_set('flexFormService', $flexFormService);
556  $this->mockContentObject->data = ['pi_flexform' => []];
557 
558  $frameworkConfiguration = ['persistence' => ['storagePid' => '98']];
559  self::assertSame(
560  ['persistence' => ['storagePid' => '98']],
561  $this->frontendConfigurationManager->_call('overrideConfigurationFromFlexForm', $frameworkConfiguration)
562  );
563  }
564 
569  {
570  ‪$frontendConfigurationManager = $this->getAccessibleMock(
571  FrontendConfigurationManager::class,
572  ['getTypoScriptSetup'],
573  [],
574  '',
575  false
576  );
577  ‪$frontendConfigurationManager->_set('contentObject', $this->mockContentObject);
578  ‪$frontendConfigurationManager->_set('typoScriptService', $this->mockTypoScriptService);
579 
580  $this->mockTypoScriptService->expects(self::once())->method('convertTypoScriptArrayToPlainArray')->willReturn([
581  'persistence' => [
582  'storagePid' => '0,1,2,3',
583  ],
584  'settings' => [
585  'foo' => 'bar',
586  ],
587  'view' => [
588  'foo' => 'bar',
589  ],
590  ]);
591  ‪$frontendConfigurationManager->method('getTypoScriptSetup')->willReturn([
592  'plugin.' => [
593  'tx_ext_pi1.' => [
594  'persistence.' => [
595  'storagePid' => '0,1,2,3',
596  ],
597  'settings.' => [
598  'foo' => 'bar',
599  ],
600  'view.' => [
601  'foo' => 'bar',
602  ],
603  ],
604  ],
605  ]);
606 
607  $frameworkConfiguration = [
608  'extensionName' => 'ext',
609  'pluginName' => 'pi1',
610  'persistence' => [
611  'storagePid' => '1',
612  ],
613  'settings' => [
614  'foo' => 'qux',
615  ],
616  'view' => [
617  'foo' => 'qux',
618  ],
619  ];
620  self::assertSame(
621  [
622  'extensionName' => 'ext',
623  'pluginName' => 'pi1',
624  'persistence' => [
625  'storagePid' => '0,1,2,3',
626  ],
627  'settings' => [
628  'foo' => 'bar',
629  ],
630  'view' => [
631  'foo' => 'bar',
632  ],
633  ],
634  ‪$frontendConfigurationManager->_call('overrideConfigurationFromPlugin', $frameworkConfiguration)
635  );
636  }
637 }
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration
Definition: AbstractConfigurationManagerTest.php:18
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getControllerConfigurationReturnsEmptyArrayByDefault
‪getControllerConfigurationReturnsEmptyArrayByDefault()
Definition: FrontendConfigurationManagerTest.php:225
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured
‪storagePidsAreNotExtendedIfRecursiveSearchIsNotConfigured()
Definition: FrontendConfigurationManagerTest.php:364
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideStoragePidIfStartingPointIsSetOverridesCorrectly
‪overrideStoragePidIfStartingPointIsSetOverridesCorrectly()
Definition: FrontendConfigurationManagerTest.php:445
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\$frontendConfigurationManager
‪FrontendConfigurationManager MockObject AccessibleObjectInterface $frontendConfigurationManager
Definition: FrontendConfigurationManagerTest.php:39
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreExtendedIfRecursiveSearchIsConfigured
‪storagePidsAreExtendedIfRecursiveSearchIsConfigured()
Definition: FrontendConfigurationManagerTest.php:304
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsStringAndEmpty
‪overrideConfigurationFromFlexFormChecksForDataIsStringAndEmpty()
Definition: FrontendConfigurationManagerTest.php:505
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration
‪getPluginConfigurationRecursivelyMergesExtensionAndPluginConfiguration()
Definition: FrontendConfigurationManagerTest.php:161
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationReturnsPluginConfiguration
‪getPluginConfigurationReturnsPluginConfiguration()
Definition: FrontendConfigurationManagerTest.php:126
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\mergeConfigurationIntoFrameworkConfigurationWorksAsExpected
‪mergeConfigurationIntoFrameworkConfigurationWorksAsExpected()
Definition: FrontendConfigurationManagerTest.php:422
‪TYPO3\CMS\Core\Service\FlexFormService
Definition: FlexFormService.php:25
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getContextSpecificFrameworkConfigurationCorrectlyCallsOverrideMethods
‪getContextSpecificFrameworkConfigurationCorrectlyCallsOverrideMethods()
Definition: FrontendConfigurationManagerTest.php:272
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromPluginOverridesCorrectly
‪overrideConfigurationFromPluginOverridesCorrectly()
Definition: FrontendConfigurationManagerTest.php:565
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest
Definition: FrontendConfigurationManagerTest.php:32
‪TYPO3\CMS\Extbase\Configuration\FrontendConfigurationManager
Definition: FrontendConfigurationManager.php:33
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsString
‪overrideConfigurationFromFlexFormChecksForDataIsString()
Definition: FrontendConfigurationManagerTest.php:481
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound
‪getPluginConfigurationReturnsEmptyArrayIfNoPluginConfigurationWasFound()
Definition: FrontendConfigurationManagerTest.php:80
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\$mockTypoScriptService
‪TypoScriptService MockObject AccessibleObjectInterface $mockTypoScriptService
Definition: FrontendConfigurationManagerTest.php:43
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\setUp
‪setUp()
Definition: FrontendConfigurationManagerTest.php:48
‪TYPO3\CMS\Core\TypoScript\TypoScriptService
Definition: TypoScriptService.php:25
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsArray
‪overrideConfigurationFromFlexFormChecksForDataIsArray()
Definition: FrontendConfigurationManagerTest.php:525
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:25
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getTypoScriptSetupReturnsSetupFromTsfe
‪getTypoScriptSetupReturnsSetupFromTsfe()
Definition: FrontendConfigurationManagerTest.php:71
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\$mockContentObject
‪ContentObjectRenderer MockObject $mockContentObject
Definition: FrontendConfigurationManagerTest.php:35
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getControllerConfigurationReturnsConfigurationStoredInExtconf
‪getControllerConfigurationReturnsConfigurationStoredInExtconf()
Definition: FrontendConfigurationManagerTest.php:240
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\getPluginConfigurationReturnsExtensionConfiguration
‪getPluginConfigurationReturnsExtensionConfiguration()
Definition: FrontendConfigurationManagerTest.php:95
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels
‪storagePidsAreNotExtendedIfRecursiveSearchIsConfiguredForZeroLevels()
Definition: FrontendConfigurationManagerTest.php:392
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideConfigurationFromFlexFormChecksForDataIsArrayAndEmpty
‪overrideConfigurationFromFlexFormChecksForDataIsArrayAndEmpty()
Definition: FrontendConfigurationManagerTest.php:545
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\overrideStoragePidIfStartingPointIsSetCorrectlyHandlesEmptyValuesFromGetTreeList
‪overrideStoragePidIfStartingPointIsSetCorrectlyHandlesEmptyValuesFromGetTreeList()
Definition: FrontendConfigurationManagerTest.php:463
‪TYPO3\CMS\Extbase\Tests\Unit\Configuration\FrontendConfigurationManagerTest\storagePidsAreExtendedIfRecursiveSearchIsConfiguredAndWithPidIncludedForNegativePid
‪storagePidsAreExtendedIfRecursiveSearchIsConfiguredAndWithPidIncludedForNegativePid()
Definition: FrontendConfigurationManagerTest.php:334