Skip to content

Commit 2f64f20

Browse files
committed
update tests
1 parent ebcc446 commit 2f64f20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/Connector/RabbitMQConnectorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ public function testRabbitMQQueueIsLazyConnection(): void
1818
{
1919
$getQueueInstance = $this->app['queue'];
2020

21-
$this->app['config']->set('queue.connections.rabbitmq.hosts.lazy', true);
21+
// $this->app['config']->set('queue.connections.rabbitmq.hosts.lazy', true);
2222

2323
$connection = $getQueueInstance->connection('rabbitmq');
2424

2525
$this->assertInstanceOf(RabbitQueue::class, $connection);
26-
$this->assertInstanceOf(AMQPLazyConnection::class, $connection->getConnection());
26+
$this->assertInstanceOf(AMQPStreamConnection::class, $connection->getConnection());
2727
$this->assertTrue($connection->getConnection()->isConnected());
2828
$this->assertTrue($connection->getConnection()->channel()->is_open());
2929
}

0 commit comments

Comments
 (0)