mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-09-07 00:06:01 +02:00
Fix outage step test by forcing login default to off
This commit is contained in:
@@ -95,6 +95,9 @@ abstract class base_testcase extends \advanced_testcase {
|
||||
|
||||
parent::setUp();
|
||||
$this->resetAfterTest(true);
|
||||
|
||||
// These tests rely on force login being disabled, but Moodle 5.2 enables it by default (MDL-87523).
|
||||
set_config('forcelogin', 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->component = "auth_outage";
|
||||
$plugin->version = 2026011305; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->version = 2026011306; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->release = 2026011305; // Human-readable release information.
|
||||
$plugin->requires = 2025100600; // Moodle 5.1.
|
||||
$plugin->maturity = MATURITY_STABLE; // Suitable for PRODUCTION environments!
|
||||
|
||||
Reference in New Issue
Block a user