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
18
18
{
19
19
$ getQueueInstance = $ this ->app ['queue ' ];
20
20
21
- $ this ->app ['config ' ]->set ('queue.connections.rabbitmq.hosts.lazy ' , true );
21
+ // $this->app['config']->set('queue.connections.rabbitmq.hosts.lazy', true);
22
22
23
23
$ connection = $ getQueueInstance ->connection ('rabbitmq ' );
24
24
25
25
$ this ->assertInstanceOf (RabbitQueue::class, $ connection );
26
- $ this ->assertInstanceOf (AMQPLazyConnection ::class, $ connection ->getConnection ());
26
+ $ this ->assertInstanceOf (AMQPStreamConnection ::class, $ connection ->getConnection ());
27
27
$ this ->assertTrue ($ connection ->getConnection ()->isConnected ());
28
28
$ this ->assertTrue ($ connection ->getConnection ()->channel ()->is_open ());
29
29
}
You can’t perform that action at this time.
0 commit comments