From 6d6b8ed98d60595a231e42953fc4e45b2abaf657 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 16 Aug 2024 18:51:55 +1000 Subject: [PATCH] Enabled Redis by default. --- .env | 2 +- tests/behat/features/redis.feature | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 tests/behat/features/redis.feature diff --git a/.env b/.env index 2454a6d10..bd3f494e8 100644 --- a/.env +++ b/.env @@ -53,7 +53,7 @@ DRUPAL_SHIELD_PRINT="Restricted access." #;< REDIS # Enable Redis integration. # See settings.redis.php for details. -DRUPAL_REDIS_ENABLED=0 +DRUPAL_REDIS_ENABLED=1 #;> REDIS #;< CLAMAV diff --git a/tests/behat/features/redis.feature b/tests/behat/features/redis.feature new file mode 100644 index 000000000..d04cfed84 --- /dev/null +++ b/tests/behat/features/redis.feature @@ -0,0 +1,10 @@ +@redis @p0 +Feature: Redis + + Ensure that Redis caching is working correctly. + + @api + Scenario: Check Redis caching report page + Given I am logged in as a user with the "administrator" role + And I go to "/admin/reports/redis" + Then I should see the text "Connected, using the PhpRedis client."