mirror of
https://github.com/predis/predis.git
synced 2026-10-13 23:37:48 +00:00
sentinel default to no password when replica authentication is used (#807)
* set default nopass if password is not provided * remove debug output * added tests for noauth sentinel * Update SentinelReplication.php Co-authored-by: Mehmet Tolga Avcioglu <mehmet.avcioglu@pusula.net.tr> Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
bb6c1a7b6d
commit
1a0eb7ee85
@@ -62,7 +62,6 @@ class StreamConnectionTest extends PredisConnectionTestCase
|
||||
*/
|
||||
public function testDoesntThrowErrorOnInvalidResource(): void
|
||||
{
|
||||
var_dump('PHP v' . PHP_VERSION);
|
||||
$this->expectException('Predis\Connection\ConnectionException');
|
||||
|
||||
$cmdSelect = RawCommand::create('SELECT', '1000');
|
||||
|
||||
Reference in New Issue
Block a user