Merge branch 'wip-mdl-45204-m' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
@@ -155,6 +155,9 @@ class core_setuplib_testcase extends advanced_testcase {
|
||||
$this->setCurrentTimeStart();
|
||||
$timestampfile = "$CFG->localcachedir/.lastpurged";
|
||||
|
||||
// Delete existing localcache directory, as this is testing first call
|
||||
// to make_localcache_directory.
|
||||
remove_dir($CFG->localcachedir, true);
|
||||
$dir = make_localcache_directory('', false);
|
||||
$this->assertSame($CFG->localcachedir, $dir);
|
||||
$this->assertFileNotExists("$CFG->localcachedir/.htaccess");
|
||||
|
||||
Reference in New Issue
Block a user