diff --git a/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php b/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php index 795ba6105c9e379ea9bbc9fb265d0ab8750a71d2..77941d5943cdbd00cdb4d6feb4e2a362dadec5c8 100644 --- a/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php +++ b/typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php @@ -23,6 +23,13 @@ use TYPO3\Components\TestingFramework\Core\Unit\UnitTestCase; */ class RedisSessionBackendTest extends UnitTestCase { + protected function setUp() + { + if (!class_exists(\Redis::class)) { + $this->markTestSkipped('Redis class needs to be available to test RedisSessionBackend'); + } + } + /** * @test */