mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-39441 behat: Restrict config.php allowed settings
This commit is contained in:
parent
07bbbcf174
commit
f38e22ed91
3 changed files with 34 additions and 0 deletions
|
@ -142,6 +142,9 @@ foreach ($vars as $var) {
|
|||
$CFG->{$var} = $CFG->{'behat_' . $var};
|
||||
}
|
||||
|
||||
// Clean $CFG extra values before performing any action.
|
||||
behat_clean_init_config();
|
||||
|
||||
$CFG->noemailever = true;
|
||||
$CFG->passwordsaltmain = 'moodle';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue