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

Public Member Functions

 canValidateSessionBackend ()
 
 sessionDataIsStoredProperly ()
 
 anonymousSessionDataIsStoredProperly ()
 
 throwExceptionOnNonExistingSessionId ()
 
 mergeSessionDataWithNewData ()
 
 existingSessionMustNotBeOverridden ()
 
 cannotChangeSessionId ()
 
 sessionGetsDestroyed ()
 
 canLoadAllSessions ()
 
 canCollectGarbage ()
 
 canPartiallyUpdateAfterGet ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

DatabaseSessionBackend $subject
 
array $testSessionRecord
 

Detailed Description

Definition at line 26 of file DatabaseSessionBackendTest.php.

Member Function Documentation

◆ anonymousSessionDataIsStoredProperly()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::anonymousSessionDataIsStoredProperly ( )

Definition at line 76 of file DatabaseSessionBackendTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$record.

◆ canCollectGarbage()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::canCollectGarbage ( )

Definition at line 169 of file DatabaseSessionBackendTest.php.

References $GLOBALS.

◆ canLoadAllSessions()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::canLoadAllSessions ( )

Definition at line 159 of file DatabaseSessionBackendTest.php.

◆ cannotChangeSessionId()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::cannotChangeSessionId ( )

◆ canPartiallyUpdateAfterGet()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::canPartiallyUpdateAfterGet ( )

Definition at line 216 of file DatabaseSessionBackendTest.php.

References $GLOBALS.

◆ canValidateSessionBackend()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::canValidateSessionBackend ( )

Definition at line 58 of file DatabaseSessionBackendTest.php.

◆ existingSessionMustNotBeOverridden()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::existingSessionMustNotBeOverridden ( )

Definition at line 112 of file DatabaseSessionBackendTest.php.

◆ mergeSessionDataWithNewData()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::mergeSessionDataWithNewData ( )

Definition at line 96 of file DatabaseSessionBackendTest.php.

References $GLOBALS.

◆ sessionDataIsStoredProperly()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::sessionDataIsStoredProperly ( )

Definition at line 64 of file DatabaseSessionBackendTest.php.

References $GLOBALS, and TYPO3\CMS\Webhooks\Message\$record.

◆ sessionGetsDestroyed()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::sessionGetsDestroyed ( )

Definition at line 145 of file DatabaseSessionBackendTest.php.

◆ setUp()

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

Set configuration for DatabaseSessionBackend

Definition at line 45 of file DatabaseSessionBackendTest.php.

References $GLOBALS.

◆ throwExceptionOnNonExistingSessionId()

TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::throwExceptionOnNonExistingSessionId ( )

Definition at line 88 of file DatabaseSessionBackendTest.php.

Member Data Documentation

◆ $subject

DatabaseSessionBackend TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::$subject
protected

Definition at line 30 of file DatabaseSessionBackendTest.php.

◆ $testSessionRecord

array TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest::$testSessionRecord
protected
Initial value:
= array(
'ses_id' => '21c0e911565a67315cdc384889c470fd291feafbfa62e31ecf7409430640bc7a',
'ses_userid' => 1,
'ses_data' => 'a:2:{s:3:"foo";s:3:"bar";s:3:"boo";s:3:"far";}',
)

Definition at line 34 of file DatabaseSessionBackendTest.php.

Referenced by TYPO3\CMS\Core\Tests\Functional\Session\Backend\DatabaseSessionBackendTest\cannotChangeSessionId().