[tests] Restore new message for failed assertion.

This commit is contained in:
Daniele Alessandri
2020-08-18 16:06:25 +02:00
parent c26909699b
commit 4b2b35202a
@@ -48,10 +48,10 @@ class SentinelReplicationTest extends PredisTestCase
$this->assertIsArray($parameters);
$this->assertArrayHasKey('database', $parameters, 'Missing expected `database` in connection parameters');
$this->assertNull($parameters['database'], 'Expected `database` connection parameter must be a NULL value');
$this->assertNull($parameters['database'], 'The `database` parameter is expected to be NULL for sentinels');
$this->assertArrayHasKey('password', $parameters, 'Missing expected `password` in connection parameters');
$this->assertNull($parameters['password'], 'Expected `password` connection parameter must be a NULL value');
$this->assertNull($parameters['password'], 'The `password` parameter is expected to be NULL for sentinels');
}
/**