Switch to phpunit 8

This commit is contained in:
Pierre Rudloff 2019-11-30 14:08:18 +01:00
parent 54f41d9396
commit fea1cce2d4
21 changed files with 330 additions and 335 deletions

View file

@ -33,15 +33,16 @@ abstract class BaseTest extends TestCase
/**
* Prepare tests.
*/
protected function setUp()
protected function setUp(): void
{
Config::setFile($this->getConfigFile());
$this->checkRequirements();
}
/**
* Destroy properties after test.
*/
protected function tearDown()
protected function tearDown(): void
{
Config::destroyInstance();
}
@ -52,8 +53,6 @@ abstract class BaseTest extends TestCase
*/
protected function checkRequirements()
{
parent::checkRequirements();
$annotations = $this->getAnnotations();
$requires = [];