瀏覽代碼

[tests] Missing @requiresRedisVersion for HSTRLEN.

Daniele Alessandri 8 年之前
父節點
當前提交
1ab65da368
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/Predis/Command/HashStringLengthTest.php

+ 2 - 0
tests/Predis/Command/HashStringLengthTest.php

@@ -61,6 +61,7 @@ class HashStringLengthTest extends PredisCommandTestCase
 
     /**
      * @group connected
+     * @requiresRedisVersion >= 3.2.0
      */
     public function testReturnsStringLengthOfSpecifiedField()
     {
@@ -81,6 +82,7 @@ class HashStringLengthTest extends PredisCommandTestCase
 
     /**
      * @group connected
+     * @requiresRedisVersion >= 3.2.0
      * @expectedException \Predis\Response\ServerException
      * @expectedExceptionMessage Operation against a key holding the wrong kind of value
      */