Skip to content

Commit

Permalink
Following PR snc#493 - Improve tests by adding an edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Galati committed Feb 5, 2019
1 parent d18468b commit 3f373a4
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion Tests/Factory/PredisParametersFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,25 @@ public function createDp()
'alias' => 'master',
'timeout' => null,
)
)
),
array(
'redis://localhost?alias=connection_alias',
'Predis\Connection\Parameters',
array(
'replication' => true,
'alias' => 'client_alias',
),
array(
'scheme' => 'tcp',
'host' => 'localhost',
'port' => 6379,
'replication' => true,
'password' => null,
'weight' => null,
'alias' => 'connection_alias',
'timeout' => null,
)
),
);
}

Expand Down

0 comments on commit 3f373a4

Please sign in to comment.