We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654eec8 commit ebcc446Copy full SHA for ebcc446
tests/Feature/Connector/RabbitMQConnectorTest.php
@@ -4,7 +4,6 @@
4
5
use iamfarhad\LaravelRabbitMQ\RabbitQueue;
6
use iamfarhad\LaravelRabbitMQ\Tests\FeatureTestCase;
7
-use iamfarhad\LaravelRabbitMQ\Tests\UnitTestCase;
8
use PhpAmqpLib\Connection\AMQPLazyConnection;
9
use PhpAmqpLib\Connection\AMQPStreamConnection;
10
@@ -17,9 +16,10 @@ protected function setUp(): void
17
16
18
public function testRabbitMQQueueIsLazyConnection(): void
19
{
20
- config()->set('queue.connections.rabbitmq.hosts.lazy', true);
21
$getQueueInstance = $this->app['queue'];
22
+ $this->app['config']->set('queue.connections.rabbitmq.hosts.lazy', true);
+
23
$connection = $getQueueInstance->connection('rabbitmq');
24
25
$this->assertInstanceOf(RabbitQueue::class, $connection);
0 commit comments