publish message with custom queue options : update ConnectionTest
This commit is contained in:
parent
6f9fdaf7e4
commit
4532319520
@ -237,10 +237,10 @@ class ConnectionTest extends TestCase
|
|||||||
public function testPublishWithQueueOptions()
|
public function testPublishWithQueueOptions()
|
||||||
{
|
{
|
||||||
$factory = new TestAmqpFactory(
|
$factory = new TestAmqpFactory(
|
||||||
$amqpConnection = $this->getMockBuilder(\AMQPConnection::class)->disableOriginalConstructor()->getMock(),
|
$amqpConnection = $this->createMock(\AMQPConnection::class),
|
||||||
$amqpChannel = $this->getMockBuilder(\AMQPChannel::class)->disableOriginalConstructor()->getMock(),
|
$amqpChannel = $this->createMock(\AMQPChannel::class),
|
||||||
$amqpQueue = $this->getMockBuilder(\AMQPQueue::class)->disableOriginalConstructor()->getMock(),
|
$amqpQueue = $this->createMock(\AMQPQueue::class),
|
||||||
$amqpExchange = $this->getMockBuilder(\AMQPExchange::class)->disableOriginalConstructor()->getMock()
|
$amqpExchange = $this->createMock(\AMQPExchange::class)
|
||||||
);
|
);
|
||||||
$headers = [
|
$headers = [
|
||||||
'type' => '*',
|
'type' => '*',
|
||||||
|
Reference in New Issue
Block a user