Explorar o código

Add minimum required Redis version for BITPOS integration tests.

Daniele Alessandri %!s(int64=10) %!d(string=hai) anos
pai
achega
e9264bb087
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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
      */