فهرست منبع

Add minimum required Redis version for BITPOS integration tests.

Daniele Alessandri 10 سال پیش
والد
کامیت
75ca2f8111
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
      */