‪TYPO3CMS  10.4
RequestHandlerConfigurationFactoryTest.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 
24 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
25 
26 class ‪RequestHandlerConfigurationFactoryTest extends FunctionalTestCase
27 {
31  protected ‪$coreExtensionsToLoad = ['extbase', 'fluid'];
32 
37  {
38  $configuration = (new ‪RequestHandlersConfigurationFactory())
39  ->createRequestHandlersConfiguration();
40 
41  self::assertSame(
42  [
43  FrontendRequestHandler::class,
44  BackendRequestHandler::class,
45  WidgetRequestHandler::class,
46  ],
47  $configuration->getRegisteredRequestHandlers()
48  );
49  }
50 }
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration\RequestHandlerConfigurationFactoryTest
Definition: RequestHandlerConfigurationFactoryTest.php:27
‪TYPO3\CMS\Extbase\Configuration\RequestHandlersConfigurationFactory
Definition: RequestHandlersConfigurationFactory.php:35
‪TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler
Definition: WidgetRequestHandler.php:32
‪TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler
Definition: BackendRequestHandler.php:25
‪TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler
Definition: FrontendRequestHandler.php:26
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration\RequestHandlerConfigurationFactoryTest\$coreExtensionsToLoad
‪array $coreExtensionsToLoad
Definition: RequestHandlerConfigurationFactoryTest.php:30
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration
Definition: BackendConfigurationManagerTest.php:16
‪TYPO3\CMS\Extbase\Tests\Functional\Configuration\RequestHandlerConfigurationFactoryTest\requestHandlerConfigurationFactoryLoadsRequestHandlersOfExtbaseAndFluid
‪requestHandlerConfigurationFactoryLoadsRequestHandlersOfExtbaseAndFluid()
Definition: RequestHandlerConfigurationFactoryTest.php:35