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:
ef1d45b
)
MDL-48302 behat: Make sure to clear php file cache
author
Rajesh Taneja
<rajesh@moodle.com>
Thu, 20 Nov 2014 07:39:39 +0000
(15:39 +0800)
committer
Rajesh Taneja
<rajesh@moodle.com>
Fri, 21 Nov 2014 02:22:56 +0000
(10:22 +0800)
lib/testing/classes/util.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/testing/classes/util.php
b/lib/testing/classes/util.php
index
520cb77
..
4fdd3c7
100644
(file)
--- a/
lib/testing/classes/util.php
+++ b/
lib/testing/classes/util.php
@@
-715,6
+715,9
@@
abstract class testing_util {
// Do not delete automatically installed files.
self::skip_original_data_files($childclassname);
+ // Clear file status cache, before checking file_exists.
+ clearstatcache();
+
// Clean up the dataroot folder.
$handle = opendir(self::get_dataroot());
while (false !== ($item = readdir($handle))) {