Browse Source

[tests] Missing @requiresRedisVersion for HSTRLEN.

Daniele Alessandri 8 năm trước cách đây
mục cha
commit
1ab65da368
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
      */