Skip to content

Commit 09953f9

Browse files
Merge pull request #73 from tatiana-gl/TOTARA_19
tool_forcedcache: Add tearDown method to runtests
2 parents 54b071b + 2e54850 commit 09953f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/cache_config_test.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ public function copy_to_valid_config_location(string $source): string {
4646
return realpath($dest);
4747
}
4848

49+
protected function tearDown(): void {
50+
$this->tmpdir = null;
51+
parent::tearDown();
52+
}
53+
4954
public function test_read_config_file_from_invalid_path() {
5055
global $CFG;
5156
$this->resetAfterTest(true);

0 commit comments

Comments
 (0)