‪TYPO3CMS  10.4
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 23 of file SessionManagerTest.php.

Member Function Documentation

◆ clearAllSessionsByUserIdDestroyAllSessionsForBackend()

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

Definition at line 71 of file SessionManagerTest.php.

◆ clearAllSessionsByUserIdDestroyAllSessionsForFrontend()

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

Definition at line 86 of file SessionManagerTest.php.

◆ setUp()

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

Set configuration for DatabaseSessionBackend

Definition at line 52 of file SessionManagerTest.php.

References $GLOBALS.

Member Data Documentation

◆ $subject

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

Definition at line 27 of file SessionManagerTest.php.

◆ $testSessionRecords

array TYPO3\CMS\Core\Tests\Functional\Session\SessionManagerTest::$testSessionRecords
protected
Initial value:
= array(
'randomSessionId1' => [
'ses_id' => 'e1ad65e4bad3c29e12c754c8e9f5927e',
'ses_userid' => 1,
],
'randomSessionId2' => [
'ses_id' => '72b1cf1fccc010ddb760c6db03f668db',
'ses_userid' => 1,
],
'randomSessionId3' => [
'ses_id' => '7ee0836849b95d884108486c4a8973f3',
'ses_userid' => 2,
]
)

Definition at line 31 of file SessionManagerTest.php.