‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest:

Public Member Functions

 clearAllSessionsByUserIdDestroyAllSessionsForBackend ()
 
 clearAllSessionsByUserIdDestroyAllSessionsForFrontend ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

SessionManager $subject
 
array $testSessionRecords
 

Detailed Description

Definition at line 24 of file SessionManagerTest.php.

Member Function Documentation

◆ clearAllSessionsByUserIdDestroyAllSessionsForBackend()

TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest::clearAllSessionsByUserIdDestroyAllSessionsForBackend ( )

Definition at line 70 of file SessionManagerTest.php.

◆ clearAllSessionsByUserIdDestroyAllSessionsForFrontend()

TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest::clearAllSessionsByUserIdDestroyAllSessionsForFrontend ( )

Definition at line 83 of file SessionManagerTest.php.

◆ setUp()

TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest::setUp ( )
protected

Set configuration for DatabaseSessionBackend

Definition at line 53 of file SessionManagerTest.php.

References $GLOBALS.

Member Data Documentation

◆ $subject

SessionManager TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest::$subject
protected

Definition at line 28 of file SessionManagerTest.php.

◆ $testSessionRecords

array TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest::$testSessionRecords
protected
Initial value:
= array(
'randomSessionId1' => [
'ses_id' => '92728358061fb01f95498e33ec4661e1edac4b59c18a06f2f80047747c749515',
'ses_userid' => 1,
],
'randomSessionId2' => [
'ses_id' => '531b1305780519abe3e2c6b8857d2efc51ed1944242a597c0b2dd76f94876897',
'ses_userid' => 1,
],
'randomSessionId3' => [
'ses_id' => '696a4c67e53a429327c82f09eaf20b2c634deed68a96d5c1d6cc28cf3d009654',
'ses_userid' => 2,
],
)

Definition at line 32 of file SessionManagerTest.php.