[tests] cleaner teardown
This commit is contained in:
parent
432be420fd
commit
e754ec89a7
2 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ class DowntimeTest extends ShimmiePHPUnitTestCase
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
$config->set_bool("downtime", false);
|
$config->set_bool("downtime", false);
|
||||||
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDowntime()
|
public function testDowntime()
|
||||||
|
|
|
@ -23,5 +23,7 @@ class ArchiveFileHandlerTest extends ShimmiePHPUnitTestCase
|
||||||
if(file_exists("tests/test.zip")) {
|
if(file_exists("tests/test.zip")) {
|
||||||
unlink("tests/test.zip");
|
unlink("tests/test.zip");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue