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

Public Member Functions

 userFieldIsNotSetForAnonymousSessions ()
 
 storeSessionDataOnAnonymousUserWithNoData ()
 
 canSetAndUnsetSessionKey ()
 
 canSetSessionDataForAnonymousUser ()
 
 canLoadExistingAuthenticatedSession ()
 
 canLogUserInWithoutAnonymousSession ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

bool $resetSingletonInstances = true
 

Private Attributes

const NOT_CHECKED_INDICATOR = '--not-checked--'
 

Detailed Description

Test cases for FrontendUserAuthentication

Todo:
‪: Some of these tests would be better suited as functional tests

Definition at line 45 of file FrontendUserAuthenticationTest.php.

Member Function Documentation

◆ canLoadExistingAuthenticatedSession()

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

◆ canLogUserInWithoutAnonymousSession()

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

◆ canSetAndUnsetSessionKey()

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

◆ canSetSessionDataForAnonymousUser()

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

◆ setUp()

TYPO3\CMS\Frontend\Tests\Unit\Authentication\FrontendUserAuthenticationTest::setUp ( )
protected

Definition at line 54 of file FrontendUserAuthenticationTest.php.

References $GLOBALS.

◆ storeSessionDataOnAnonymousUserWithNoData()

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

◆ userFieldIsNotSetForAnonymousSessions()

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

Member Data Documentation

◆ $resetSingletonInstances

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

Reset singletons created by subject

Definition at line 52 of file FrontendUserAuthenticationTest.php.

◆ NOT_CHECKED_INDICATOR