Skip to content

Commit

Permalink
Merge branch 'wip-mdl-45204-m26' of git://github.com/rajeshtaneja/moo…
Browse files Browse the repository at this point in the history
…dle into MOODLE_26_STABLE
  • Loading branch information
marinaglancy committed Nov 3, 2014
2 parents 765f45c + 3879943 commit 818a6ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tests/setuplib_test.php
Expand Up @@ -155,6 +155,9 @@ public function test_localcachedir() {
$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");
Expand Down

0 comments on commit 818a6ef

Please sign in to comment.