[tests] cleaner teardown

This commit is contained in:
Shish 2024-01-10 08:51:56 +00:00
parent 432be420fd
commit e754ec89a7
2 changed files with 3 additions and 0 deletions

View file

@ -10,6 +10,7 @@ class DowntimeTest extends ShimmiePHPUnitTestCase
{
global $config;
$config->set_bool("downtime", false);
parent::tearDown();
}
public function testDowntime()

View file

@ -23,5 +23,7 @@ class ArchiveFileHandlerTest extends ShimmiePHPUnitTestCase
if(file_exists("tests/test.zip")) {
unlink("tests/test.zip");
}
parent::tearDown();
}
}