| 1 | <?php |
||
| 8 | class ResetCommandTest extends TestCase |
||
| 9 | { |
||
| 10 | use CommandTrait; |
||
| 11 | |||
| 12 | public function testResetCommand() |
||
| 13 | { |
||
| 14 | $this->runResetCommand([], 'resetExceptionJobs'); |
||
| 15 | $this->runResetCommand([], 'resetStalledJobs'); |
||
| 16 | } |
||
| 17 | |||
| 18 | protected function runResetCommand($params, $call, $expectedResult = 0) |
||
| 19 | { |
||
| 20 | return $this->runStubCommand(ResetCommand::class, $params, $call, $expectedResult); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |