mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-39343 disables MUC caches in phpunit and behat install/drop
This commit is contained in:
parent
e2e35e71f9
commit
2cc9fa88f6
@ -50,6 +50,9 @@ list($options, $unrecognized) = cli_get_params(
|
||||
)
|
||||
);
|
||||
|
||||
if ($options['install'] or $options['drop']) {
|
||||
define('CACHE_DISABLE_ALL', true);
|
||||
}
|
||||
|
||||
// Checking util.php CLI script usage.
|
||||
$help = "
|
||||
|
@ -60,6 +60,10 @@ if (file_exists(__DIR__.'/../../../../vendor/phpunit/phpunit/PHPUnit/Autoload.ph
|
||||
}
|
||||
}
|
||||
|
||||
if ($options['install'] or $options['drop']) {
|
||||
define('CACHE_DISABLE_ALL', true);
|
||||
}
|
||||
|
||||
if ($options['run']) {
|
||||
unset($options);
|
||||
unset($unrecognized);
|
||||
|
Loading…
x
Reference in New Issue
Block a user