mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
Merge branch 'MDL-55640-main' of https://github.com/sammarshallou/moodle
This commit is contained in:
commit
7ac70d80b2
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ class setuplib_test extends \advanced_testcase {
|
|||
|
||||
// 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->assertTrue(remove_dir($CFG->localcachedir));
|
||||
$dir = make_localcache_directory('');
|
||||
$this->assertSame($CFG->localcachedir, $dir);
|
||||
$this->assertFileDoesNotExist("$CFG->localcachedir/.htaccess");
|
||||
$this->assertFileExists($timestampfile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue