mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Fix new tests to work with PHPUnit 8
This commit is contained in:
parent
de424e42f6
commit
c1a3e64bfa
3 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ use JKingWeb\Arsse\Service\Serial\Driver;
|
|||
|
||||
/** @covers \JKingWeb\Arsse\Service\Serial\Driver */
|
||||
class TestSerial extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
self::clearData();
|
||||
self::setConf();
|
||||
Arsse::$db = \Phake::mock(Database::class);
|
||||
|
|
|
@ -13,7 +13,7 @@ use JKingWeb\Arsse\Service\Subprocess\Driver;
|
|||
|
||||
/** @covers \JKingWeb\Arsse\Service\Subprocess\Driver */
|
||||
class TestSubprocess extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
self::clearData();
|
||||
self::setConf();
|
||||
}
|
||||
|
|
|
@ -15,10 +15,10 @@ use JKingWeb\Arsse\Service;
|
|||
|
||||
/** @covers \JKingWeb\Arsse\Arsse */
|
||||
class TestArsse extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||
public function setUp() {
|
||||
public function setUp(): void {
|
||||
self::clearData(false);
|
||||
}
|
||||
public function tearDown() {
|
||||
public function tearDown(): void {
|
||||
self::clearData();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue