File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments