2 declare(strict_types = 1);
19 use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
28 if (!class_exists(\Redis::class)) {
29 $this->markTestSkipped(
'Redis class needs to be available to test RedisSessionBackend');
31 $GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'encryptionKey'] =
'12345';
39 $this->expectException(\InvalidArgumentException::class);
40 $this->expectExceptionCode(1481270871);
45 'database' =>
'numberZero'
48 $subject->validateConfiguration();
64 $this->expectException(\InvalidArgumentException::class);
65 $this->expectExceptionCode(1481270923);
66 $subject->validateConfiguration();