Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6441d08

Browse files
author
Frederik Schwan
committed
fix redis sentinel tests
1 parent 20846e2 commit 6441d08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport/RedisTransportFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ public static function createTransportProvider(): iterable
7777
];
7878

7979
yield 'redis_sentinel' => [
80-
'redis:?host[host1:5000]&host[host2:5000]&host[host3:5000]&sentinel_master=test&dbindex=0',
81-
[],
80+
'redis:?host['.str_replace(' ', ']&host[', getenv('REDIS_SENTINEL_HOSTS')).']',
81+
['sentinel_master' => getenv('REDIS_SENTINEL_SERVICE')],
8282
];
8383
}
8484

0 commit comments

Comments
 (0)