‪TYPO3CMS  10.4
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest:
TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 pageRenderingStopsWithInvalidCacheHashDataProvider ()
 
 pageRequestSendsNotFoundResponseWithInvalidCacheHash (string $uri)
 
 pageIsRenderedWithValidCacheHashDataProvider ()
 
 pageIsRenderedWithValidCacheHash ($uri)
 

Protected Member Functions

array< string, $configurationToUseInTestInstance=array('SYS'=>['devIPmask'=> '123.123.123.123', 'encryptionKey'=> '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6',], 'FE'=>['cacheHash'=>['enforceValidation'=> false,], 'debug'=> false,],);protected setUp():void { parent::setUp();$this-> withDatabaseSnapshot (function() { $this->importCSVDataSet(__DIR__ . '/../Fixtures/be_users.csv'); $backendUser=$this->setUpBackendUser(1);Bootstrap::initializeLanguageObject(); $scenarioFile=__DIR__ . '/Fixtures/SlugScenario.yaml'; $factory=DataHandlerFactory::fromYamlFile($scenarioFile); $writer=DataHandlerWriter::withBackendUser($backendUser); $writer->invokeFactory($factory);static::failIfArrayIsNotEmpty($writer->getErrors()); $this->setUpFrontendRootPage(1000, ['typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.typoscript', 'typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/JsonRenderer.typoscript',], ['title'=> 'ACME Root',]);})
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
array buildSiteConfiguration (int $rootPageId, string $base='')
 
array buildDefaultLanguageConfiguration (string $identifier, string $base)
 
array buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
 
array buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
InternalRequest applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
AbstractInstruction mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 

Additional Inherited Members

- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
static failIfArrayIsNotEmpty (array $items)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\AbstractTestCase
const ENCRYPTION_KEY = '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6'
 

Detailed Description

Definition at line 27 of file SlugSiteWithoutRequiredCHashRequestTest.php.

Member Function Documentation

◆ pageIsRenderedWithValidCacheHash()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest::pageIsRenderedWithValidCacheHash (   $uri)

◆ pageIsRenderedWithValidCacheHashDataProvider()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest::pageIsRenderedWithValidCacheHashDataProvider ( )

◆ pageRenderingStopsWithInvalidCacheHashDataProvider()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest::pageRenderingStopsWithInvalidCacheHashDataProvider ( )

◆ pageRequestSendsNotFoundResponseWithInvalidCacheHash()

TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest::pageRequestSendsNotFoundResponseWithInvalidCacheHash ( string  $uri)

◆ withDatabaseSnapshot()

array<string, $configurationToUseInTestInstance = array( 'SYS' => [ 'devIPmask' => '123.123.123.123', 'encryptionKey' => '4408d27a916d51e624b69af3554f516dbab61037a9f7b9fd6f81b4d3bedeccb6', ], 'FE' => [ 'cacheHash' => [ 'enforceValidation' => false, ], 'debug' => false, ], ); protected setUp(): void { parent::setUp(); $this-> TYPO3\CMS\Frontend\Tests\Functional\SiteHandling\SlugSiteWithoutRequiredCHashRequestTest::withDatabaseSnapshot ( function() { $this->importCSVDataSet(__DIR__ . '/../Fixtures/be_users.csv'); $backendUser=$this->setUpBackendUser(1);Bootstrap::initializeLanguageObject(); $scenarioFile=__DIR__ . '/Fixtures/SlugScenario.yaml'; $factory=DataHandlerFactory::fromYamlFile($scenarioFile); $writer=DataHandlerWriter::withBackendUser($backendUser); $writer->invokeFactory($factory);static::failIfArrayIsNotEmpty($writer->getErrors()); $this->setUpFrontendRootPage(1000, ['typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.typoscript', 'typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/JsonRenderer.typoscript',], ['title'=> 'ACME Root',]);}  )
protected