Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fb83f
)
MDL-39854 disable component cachin in BEHAT_TEST
author
David Monllao
<davidm@moodle.com>
Wed, 19 Jun 2013 03:28:32 +0000
(11:28 +0800)
committer
David Monllao
<davidm@moodle.com>
Wed, 19 Jun 2013 03:28:32 +0000
(11:28 +0800)
lib/classes/component.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/classes/component.php
b/lib/classes/component.php
index
e623749
..
b9d0eea
100644
(file)
--- a/
lib/classes/component.php
+++ b/
lib/classes/component.php
@@
-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.