public function SessionStoreTest::testGet in Auth0 Single Sign On 8.2
Test that SessionStore::get stores the correct value.
@runInSeparateProcess
Return value
void
File
- vendor/
auth0/ auth0-php/ tests/ Store/ SessionStoreTest.php, line 107
Class
- SessionStoreTest
- Class SessionStoreTest. Tests the SessionStore class.
Code
public function testGet() {
session_start();
$_SESSION[self::$sessionKey] = self::TEST_VALUE;
$this
->assertEquals(self::TEST_VALUE, self::$sessionStore
->get(self::TEST_KEY));
}