Fix merge

This commit is contained in:
Nicolas Grekas 2019-12-16 14:48:38 +01:00
parent 0dea24fa8c
commit 57361a5ab8
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ env:
matrix:
include:
- php: 7.1
env: php_extra="7.2 7.4snapshot"
env: php_extra="7.2 7.4"
- php: 7.3
env: deps=high
- php: 7.4

View File

@ -287,7 +287,7 @@ class ConnectionTest extends TestCase
$factory->method('createQueue')->willReturn($amqpQueue);
$amqpExchange->expects($this->once())->method('declareExchange');
$amqpExchange->expects($this->once())->method('publish')->with('body', null, AMQP_NOPARAM, ['headers' => []]);
$amqpExchange->expects($this->once())->method('publish')->with('body', null, AMQP_NOPARAM, ['headers' => [], 'delivery_mode' => 2]);
$amqpQueue->expects($this->once())->method('declareQueue');
$amqpQueue->expects($this->exactly(1))->method('bind')->withConsecutive(
[self::DEFAULT_EXCHANGE_NAME, null, ['x-match' => 'all']]