Fix test.

This commit is contained in:
Raza Mehdi
2020-08-16 04:07:30 +05:00
parent d6ee18bf21
commit 36a02cf807
2 changed files with 3 additions and 5 deletions
@@ -146,8 +146,6 @@ class StringBitFieldTest extends PredisCommandTestCase
$this->expectException('Predis\Response\ServerException');
$this->expectExceptionMessage('Operation against a key holding the wrong kind of value');
$this->markTestSkipped('Currently skipped due issues in Redis (see antirez/redis#3259).');
$redis = $this->getClient();
$redis->lpush('metavars', 'foo');
@@ -291,9 +291,9 @@ class SentinelReplicationTest extends PredisTestCase
$sentinel1->expects($this->exactly(3))
->method('executeCommand')
->withConsecutive(
$this->isRedisCommand('SENTINEL', array('sentinels', 'svc')),
$this->isRedisCommand('SENTINEL', array('get-master-addr-by-name', 'svc')),
$this->isRedisCommand('SENTINEL', array('slaves', 'svc'))
array($this->isRedisCommand('SENTINEL', array('sentinels', 'svc'))),
array($this->isRedisCommand('SENTINEL', array('get-master-addr-by-name', 'svc'))),
array($this->isRedisCommand('SENTINEL', array('slaves', 'svc')))
)
->will($this->onConsecutiveCalls(
// SENTINEL sentinels svc