Переглянути джерело

Add minimum required Redis version for BITPOS integration tests.

Daniele Alessandri 10 роки тому
батько
коміт
e9264bb087
1 змінених файлів з 2 додано та 0 видалено
  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
      */