Skip to content

Commit ba33b8b

Browse files
committed
Remove use of deprecated method in PHPUnit code
1 parent 543a630 commit ba33b8b

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Test/Unit/Console/Command/KillJobTest.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,16 +238,7 @@ public function testExecuteWithPartialKillFailures()
238238

239239
$this->mockScheduleManagement->expects($this->exactly($numOfSchedules))
240240
->method('kill')
241-
->withConsecutive(
242-
[
243-
$this->isType('int'),
244-
$this->isType('int')
245-
],
246-
[
247-
$this->isType('int'),
248-
$this->isType('int')
249-
]
250-
)->willReturnOnConsecutiveCalls(false, true);
241+
->willReturnOnConsecutiveCalls(false, true);
251242

252243
$commandTester = new CommandTester($this->command);
253244
$resultCode = $commandTester->execute(

0 commit comments

Comments
 (0)