|
@@ -81,6 +81,8 @@ class HyperLogLogCountTest extends PredisCommandTestCase
|
|
|
*/
|
|
|
public function testThrowsExceptionOnWrongType()
|
|
|
{
|
|
|
+ $this->markTestSkippedOnRedisVersionBelow('2.8.9', 'HyperLogLog requires Redis >= 2.8.9.', true);
|
|
|
+
|
|
|
$redis = $this->getClient();
|
|
|
|
|
|
$redis->lpush('metavars', 'foo', 'hoge');
|
|
@@ -94,6 +96,8 @@ class HyperLogLogCountTest extends PredisCommandTestCase
|
|
|
*/
|
|
|
public function testThrowsExceptionOnWrongTypeOfAtLeastOneKey()
|
|
|
{
|
|
|
+ $this->markTestSkippedOnRedisVersionBelow('2.8.9', 'HyperLogLog requires Redis >= 2.8.9.', true);
|
|
|
+
|
|
|
$redis = $this->getClient();
|
|
|
|
|
|
$redis->pfadd('metavars:1', 'foo', 'hoge');
|