Skip to content

Commit

Permalink
fix queue test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubc committed Mar 18, 2024
1 parent 0d60789 commit 744e42b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Slave/Worker/QueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function testQueueSameTimestamp(): void

$worker = $this->prophesize(Worker::class);
$worker->__toString()->willReturn('name');
$worker->send(Argument::type('string'), Argument::type('integer'), Argument::any())->willReturn();
$worker->send(Argument::type('string'), Argument::type('integer'), Argument::any());
//$worker->getPid()->willReturn(1234)->shouldBeCalledTimes(1);

$workerManager = $this->prophesize(WorkerManager::class);
Expand Down Expand Up @@ -55,7 +55,7 @@ public function testQueue3Timestamps(): void

$worker = $this->prophesize(Worker::class);
$worker->__toString()->willReturn('name');
$worker->send(Argument::type('string'), Argument::type('integer'), Argument::any())->willReturn();
$worker->send(Argument::type('string'), Argument::type('integer'), Argument::any());
//$worker->getPid()->willReturn(1234)->shouldBeCalledTimes(3);

$workerManager = $this->prophesize(WorkerManager::class);
Expand Down

0 comments on commit 744e42b

Please sign in to comment.