Parcourir la source

Add minimum required Redis version for BITPOS integration tests.

Daniele Alessandri il y a 10 ans
Parent
commit
e9264bb087
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      tests/Predis/Command/StringBitPosTest.php

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

@@ -59,6 +59,7 @@ class StringBitPosTest extends PredisCommandTestCase
 
     /**
      * @group connected
+     * @requiresRedisVersion >= 2.8.7
      */
     public function testReturnsBitPosition()
     {
@@ -78,6 +79,7 @@ class StringBitPosTest extends PredisCommandTestCase
 
     /**
      * @group connected
+     * @requiresRedisVersion >= 2.8.7
      * @expectedException \Predis\Response\ServerException
      * @expectedExceptionMessage Operation against a key holding the wrong kind of value
      */