MDL-39854 disable component caching in BEHAT_UTIL
This commit is contained in:
@@ -79,7 +79,7 @@ class core_component {
|
||||
return;
|
||||
}
|
||||
|
||||
if (PHPUNIT_TEST or !empty($CFG->early_install_lang)) {
|
||||
if (PHPUNIT_TEST or !empty($CFG->early_install_lang) or (defined('BEHAT_UTIL') and BEHAT_UTIL)) {
|
||||
// 1/ Do not bother storing the file for unit tests,
|
||||
// we need fresh copy for each execution and
|
||||
// later we keep it in memory.
|
||||
|
||||
Reference in New Issue
Block a user