Skip to content

Commit f970b65

Browse files
committed
Add integration test.
1 parent c88de24 commit f970b65

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/Redis/RedisConnectionTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,9 @@ public function connections()
558558
$prefixedPhpredis = new RedisManager(new Application, 'phpredis', [
559559
'cluster' => false,
560560
'default' => [
561-
'host' => $host,
562-
'port' => $port,
561+
'url' => "redis://user@$host:$port",
562+
'host' => 'overwrittenByUrl',
563+
'port' => 'overwrittenByUrl',
563564
'database' => 5,
564565
'options' => ['prefix' => 'laravel:'],
565566
'timeout' => 0.5,

0 commit comments

Comments
 (0)