Skip to content

Commit 5c3db6c

Browse files
authored
Improve integration test stability
1 parent 25914d4 commit 5c3db6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Test/Integration/Checks/RedisConnectionTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ class RedisConnectionTest extends TestCase
1515
public function testRedisConnectionWarning(): void
1616
{
1717
/** @var RedisConnection $redisConnectionCheck */
18-
$redisConnectionCheck = Bootstrap::getObjectManager()->get(RedisConnection::class);
18+
$redisConnectionCheck = Bootstrap::getObjectManager()->create(RedisConnection::class, [
19+
'enforceRedis' => false,
20+
]);
1921

2022
$output = $redisConnectionCheck->run();
2123
$this->assertEquals('redis_connection', $output->getName());

0 commit comments

Comments
 (0)