mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +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 */
|
/** @covers \JKingWeb\Arsse\Service\Serial\Driver */
|
||||||
class TestSerial extends \JKingWeb\Arsse\Test\AbstractTest {
|
class TestSerial extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
public function setUp() {
|
public function setUp(): void {
|
||||||
self::clearData();
|
self::clearData();
|
||||||
self::setConf();
|
self::setConf();
|
||||||
Arsse::$db = \Phake::mock(Database::class);
|
Arsse::$db = \Phake::mock(Database::class);
|
||||||
|
|
|
@ -13,7 +13,7 @@ use JKingWeb\Arsse\Service\Subprocess\Driver;
|
||||||
|
|
||||||
/** @covers \JKingWeb\Arsse\Service\Subprocess\Driver */
|
/** @covers \JKingWeb\Arsse\Service\Subprocess\Driver */
|
||||||
class TestSubprocess extends \JKingWeb\Arsse\Test\AbstractTest {
|
class TestSubprocess extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
public function setUp() {
|
public function setUp(): void {
|
||||||
self::clearData();
|
self::clearData();
|
||||||
self::setConf();
|
self::setConf();
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,10 +15,10 @@ use JKingWeb\Arsse\Service;
|
||||||
|
|
||||||
/** @covers \JKingWeb\Arsse\Arsse */
|
/** @covers \JKingWeb\Arsse\Arsse */
|
||||||
class TestArsse extends \JKingWeb\Arsse\Test\AbstractTest {
|
class TestArsse extends \JKingWeb\Arsse\Test\AbstractTest {
|
||||||
public function setUp() {
|
public function setUp(): void {
|
||||||
self::clearData(false);
|
self::clearData(false);
|
||||||
}
|
}
|
||||||
public function tearDown() {
|
public function tearDown(): void {
|
||||||
self::clearData();
|
self::clearData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue