mirror of
https://github.com/moodle/moodle.git
synced 2025-04-12 03:52:16 +02:00
MDL-38524 behat: Add fake jsrev and themerev
The behat admin tool does not use moodle database as it runs before anything else, it should set CFG->jsrev and CFG->themerev as they are required.
This commit is contained in:
parent
7112729206
commit
355a2c2c25
@ -142,6 +142,9 @@ foreach ($vars as $var) {
|
||||
$CFG->noemailever = true;
|
||||
$CFG->passwordsaltmain = 'moodle';
|
||||
|
||||
$CFG->themerev = 1;
|
||||
$CFG->jsrev = 1;
|
||||
|
||||
// Unset cache and temp directories to reset them again with the new $CFG->dataroot.
|
||||
unset($CFG->cachedir);
|
||||
unset($CFG->tempdir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user