mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-39854 disable component cachin in BEHAT_TEST
This commit is contained in:
parent
11fb83fee8
commit
1d4ae19d62
@ -79,7 +79,9 @@ class core_component {
|
||||
return;
|
||||
}
|
||||
|
||||
if (PHPUNIT_TEST or !empty($CFG->early_install_lang) or (defined('BEHAT_UTIL') and BEHAT_UTIL)) {
|
||||
if (PHPUNIT_TEST or !empty($CFG->early_install_lang) or
|
||||
(defined('BEHAT_UTIL') and BEHAT_UTIL) or
|
||||
(defined('BEHAT_TEST') and BEHAT_TEST)) {
|
||||
// 1/ Do not bother storing the file for unit tests,
|
||||
// we need fresh copy for each execution and
|
||||
// later we keep it in memory.
|
||||
|
Loading…
x
Reference in New Issue
Block a user