From 744e42bdf686b2c7f96102614d3c1660f499c8c1 Mon Sep 17 00:00:00 2001 From: rubench Date: Mon, 18 Mar 2024 15:31:34 +0100 Subject: [PATCH] fix queue test --- tests/Slave/Worker/QueueTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Slave/Worker/QueueTest.php b/tests/Slave/Worker/QueueTest.php index 14d754e6..0758afa8 100644 --- a/tests/Slave/Worker/QueueTest.php +++ b/tests/Slave/Worker/QueueTest.php @@ -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); @@ -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);