‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Tests\Unit\Authentication\FrontendUserAuthenticationTest Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Tests\Unit\Authentication\FrontendUserAuthenticationTest:

Public Member Functions

 canSetAndUnsetSessionKey ()
 
 canSetSessionDataForAnonymousUser ()
 

Protected Attributes

bool $resetSingletonInstances = true
 

Detailed Description

Definition at line 29 of file FrontendUserAuthenticationTest.php.

Member Function Documentation

◆ canSetAndUnsetSessionKey()

TYPO3\CMS\Frontend\Tests\Unit\Authentication\FrontendUserAuthenticationTest::canSetAndUnsetSessionKey ( )

Setting and immediately removing session data should be handled correctly. No write operations should be made

Definition at line 38 of file FrontendUserAuthenticationTest.php.

References TYPO3\CMS\Core\Session\UserSession\createFromRecord(), TYPO3\CMS\Core\Session\UserSession\createNonFixated(), and TYPO3\CMS\Core\Utility\StringUtility\getUniqueId().

◆ canSetSessionDataForAnonymousUser()

TYPO3\CMS\Frontend\Tests\Unit\Authentication\FrontendUserAuthenticationTest::canSetSessionDataForAnonymousUser ( )

Member Data Documentation

◆ $resetSingletonInstances

bool TYPO3\CMS\Frontend\Tests\Unit\Authentication\FrontendUserAuthenticationTest::$resetSingletonInstances = true
protected

Definition at line 31 of file FrontendUserAuthenticationTest.php.