We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47eafe8 commit 244c378Copy full SHA for 244c378
tests/components/ConsumerTest.php
@@ -279,6 +279,8 @@ public function testForceRestart()
279
$channel = $this->getMockBuilder(AMQPChannel::class)
280
->disableOriginalConstructor()
281
->getMock();
282
+ $channel->expects($this->once())
283
+ ->method('basic_cancel');
284
$connection->method('channel')
285
->willReturn($channel);
286
$routing = $this->createMock(Routing::class);
@@ -294,5 +296,6 @@ public function testForceRestart()
294
296
$consumer->expects($this->once())
295
297
->method('setup');
298
$consumer->setQueues(['queue' => 'callback']);
299
+ $consumer->restartDaemon();
300
}
301
0 commit comments