From eb2301a76b48222e0e9885e0b0b52efd55d97677 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 16 Jan 2025 09:59:47 +0800 Subject: [PATCH] MDL-83468 cachestore_redis: Skip tests if Redis extension not available --- cache/stores/redis/tests/compressor_test.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cache/stores/redis/tests/compressor_test.php b/cache/stores/redis/tests/compressor_test.php index 8f46a263d7d..5cc109f5458 100644 --- a/cache/stores/redis/tests/compressor_test.php +++ b/cache/stores/redis/tests/compressor_test.php @@ -223,6 +223,7 @@ final class compressor_test extends \advanced_testcase { * Test we can use get and set with all combinations. * * @dataProvider provider_for_tests_setget + * @requires extension Redis * @param string $name * @param int $serializer * @param int $compressor @@ -247,6 +248,7 @@ final class compressor_test extends \advanced_testcase { * Test we can use get and set many with all combinations. * * @dataProvider provider_for_tests_setget + * @requires extension Redis * @param string $name * @param int $serializer * @param int $compressor