Skip to content

Commit 64e557e

Browse files
committed
Enable Redis session tests back for PHP 7.2 and up
(this is part of https://tracker.moodle.org/browse/MDLSITE-5876) This reverts commit 2c7756f.
1 parent 6a84650 commit 64e557e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

config.docker-template.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@
5858
define('TEST_SEARCH_SOLR_INDEXNAME', 'test');
5959
define('TEST_SEARCH_SOLR_PORT', 8983);
6060

61-
// We need to keep Redis session tests disabled for PHP 7.2 and up. See MDL-60978.
62-
if (version_compare(PHP_VERSION, '7.2.0', '<')) {
63-
define('TEST_SESSION_REDIS_HOST', 'redis');
64-
}
65-
61+
define('TEST_SESSION_REDIS_HOST', 'redis');
6662
define('TEST_CACHESTORE_REDIS_TESTSERVERS', 'redis');
6763

6864
define('TEST_CACHESTORE_MONGODB_TESTSERVER', 'mongodb://mongo:27017');

0 commit comments

Comments
 (0)