diff --git a/tests/cache_config_test.php b/tests/cache_config_test.php index 65bc3d1..74df754 100644 --- a/tests/cache_config_test.php +++ b/tests/cache_config_test.php @@ -46,6 +46,11 @@ public function copy_to_valid_config_location(string $source): string { return realpath($dest); } + protected function tearDown(): void { + $this->tmpdir = null; + parent::tearDown(); + } + public function test_read_config_file_from_invalid_path() { global $CFG; $this->resetAfterTest(true);