From 36a02cf8075dbdb4f45d176514594ae79f9d3c69 Mon Sep 17 00:00:00 2001 From: Raza Mehdi Date: Sun, 16 Aug 2020 04:07:30 +0500 Subject: [PATCH] Fix test. --- tests/Predis/Command/StringBitFieldTest.php | 2 -- .../Predis/Connection/Aggregate/SentinelReplicationTest.php | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/Predis/Command/StringBitFieldTest.php b/tests/Predis/Command/StringBitFieldTest.php index 957341d8..bf92dad9 100644 --- a/tests/Predis/Command/StringBitFieldTest.php +++ b/tests/Predis/Command/StringBitFieldTest.php @@ -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'); diff --git a/tests/Predis/Connection/Aggregate/SentinelReplicationTest.php b/tests/Predis/Connection/Aggregate/SentinelReplicationTest.php index 192e98b9..1630565a 100644 --- a/tests/Predis/Connection/Aggregate/SentinelReplicationTest.php +++ b/tests/Predis/Connection/Aggregate/SentinelReplicationTest.php @@ -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