Skip to content

Commit c26019d

Browse files
committed
Merge pull request #303 from ruudk/patch-2
Support PhpAmqpLib 2.6
2 parents 75c93a3 + c49b0a2 commit c26019d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Tests/RabbitMq/BaseAmqpTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44

55
use OldSound\RabbitMqBundle\RabbitMq\Consumer;
66
use PhpAmqpLib\Connection\AMQPLazyConnection;
7-
use Symfony\Component\DependencyInjection\ContainerBuilder;
87

98
class BaseAmqpTest extends \PHPUnit_Framework_TestCase
109
{
1110
/**
12-
* @expectedException \PhpAmqpLib\Exception\AMQPRuntimeException
11+
* @expectedException \ErrorException
1312
*/
1413
public function testLazyConnection()
1514
{

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"symfony/config" : "~2.3",
1515
"symfony/yaml" : "~2.3",
1616
"symfony/console" : "~2.3",
17-
"videlalvaro/php-amqplib" : "~2.5.0"
17+
"videlalvaro/php-amqplib" : "~2.6"
1818
},
1919
"suggest": {
2020
"symfony/framework-bundle" : "To use this lib as a full Symfony Bundle and to use the profiler data collector"

0 commit comments

Comments
 (0)