Skip to content

Commit ebcc446

Browse files
committed
update tests
1 parent 654eec8 commit ebcc446

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
@@ -4,7 +4,6 @@
44

55
use iamfarhad\LaravelRabbitMQ\RabbitQueue;
66
use iamfarhad\LaravelRabbitMQ\Tests\FeatureTestCase;
7-
use iamfarhad\LaravelRabbitMQ\Tests\UnitTestCase;
87
use PhpAmqpLib\Connection\AMQPLazyConnection;
98
use PhpAmqpLib\Connection\AMQPStreamConnection;
109

@@ -17,9 +16,10 @@ protected function setUp(): void
1716

1817
public function testRabbitMQQueueIsLazyConnection(): void
1918
{
20-
config()->set('queue.connections.rabbitmq.hosts.lazy', true);
2119
$getQueueInstance = $this->app['queue'];
2220

21+
$this->app['config']->set('queue.connections.rabbitmq.hosts.lazy', true);
22+
2323
$connection = $getQueueInstance->connection('rabbitmq');
2424

2525
$this->assertInstanceOf(RabbitQueue::class, $connection);

0 commit comments

Comments
 (0)