File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -237,10 +237,10 @@ public function testItCanDisableTheSetup()
237
237
public function testPublishWithQueueOptions ()
238
238
{
239
239
$ factory = new TestAmqpFactory (
240
- $ amqpConnection = $ this ->getMockBuilder (\AMQPConnection::class)-> disableOriginalConstructor ()-> getMock ( ),
241
- $ amqpChannel = $ this ->getMockBuilder (\AMQPChannel::class)-> disableOriginalConstructor ()-> getMock ( ),
242
- $ amqpQueue = $ this ->getMockBuilder (\AMQPQueue::class)-> disableOriginalConstructor ()-> getMock ( ),
243
- $ amqpExchange = $ this ->getMockBuilder (\AMQPExchange::class)-> disableOriginalConstructor ()-> getMock ( )
240
+ $ amqpConnection = $ this ->createMock (\AMQPConnection::class),
241
+ $ amqpChannel = $ this ->createMock (\AMQPChannel::class),
242
+ $ amqpQueue = $ this ->createMock (\AMQPQueue::class),
243
+ $ amqpExchange = $ this ->createMock (\AMQPExchange::class)
244
244
);
245
245
$ headers = [
246
246
'type ' => '* ' ,
You can’t perform that action at this time.
0 commit comments