diff --git a/Test/Unit/Console/Command/KillJobTest.php b/Test/Unit/Console/Command/KillJobTest.php index 49a9b88..780c600 100644 --- a/Test/Unit/Console/Command/KillJobTest.php +++ b/Test/Unit/Console/Command/KillJobTest.php @@ -4,6 +4,7 @@ namespace EthanYehuda\CronjobManager\Test\Unit\Console\Command; +use EthanYehuda\CronjobManager\Api\ScheduleManagementInterface; use EthanYehuda\CronjobManager\Console\Command\KillJob; use Magento\Framework\Api\SearchResultsInterface; use PHPUnit\Framework\MockObject\MockObject; @@ -45,6 +46,9 @@ class KillJobTest extends TestCase /** @var (FilterGroupBuilder&MockObject)|MockObject */ private $mockFilterGroupBuilder; + /** @var (ProcessManagement&MockObject)|MockObject */ + private $mockProcessManagement; + protected function setUp(): void { $this->mockState = $this->getMockBuilder(State::class)->setConstructorArgs([ diff --git a/Test/Unit/Console/Command/RunjobTest.php b/Test/Unit/Console/Command/RunjobTest.php index 174995f..92c9387 100644 --- a/Test/Unit/Console/Command/RunjobTest.php +++ b/Test/Unit/Console/Command/RunjobTest.php @@ -17,6 +17,9 @@ class RunjobTest extends TestCase /** @var (Runner&MockObject)|MockObject */ protected $runner; + /** @var CommandTester */ + private $commandTester; + protected function setUp(): void { $this->runner = $this->createMock(Runner::class);