Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 36... Línea 36...
36
 * @package   core
36
 * @package   core
37
 * @copyright 2024 Meirza <meirza.arson@moodle.com>
37
 * @copyright 2024 Meirza <meirza.arson@moodle.com>
38
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
38
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
39
 * @coversDefaultClass    \core\session\redis
39
 * @coversDefaultClass    \core\session\redis
40
 */
40
 */
41
class session_redis_cluster_test extends \advanced_testcase {
41
final class session_redis_cluster_test extends \advanced_testcase {
Línea 42... Línea 42...
42
 
42
 
43
    /**
43
    /**
44
     * Set up the test environment.
44
     * Set up the test environment.
45
     */
45
     */
46
    public function setUp(): void {
46
    public function setUp(): void {
-
 
47
        global $CFG;
Línea 47... Línea 48...
47
        global $CFG;
48
        parent::setUp();
48
 
49
 
49
        if (!\cache_helper::is_cluster_available()) {
50
        if (!\cache_helper::is_cluster_available()) {
50
            $this->markTestSkipped('Could not test core_session with cluster, class RedisCluster is not available.');
51
            $this->markTestSkipped('Could not test core_session with cluster, class RedisCluster is not available.');