소스 검색

[tests] Add "count" argument to SRANDMEMBER (since Redis >= 2.6).

Daniele Alessandri 11 년 전
부모
커밋
8565a42605
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/Predis/Command/SetRandomMemberTest.php

+ 2 - 2
tests/Predis/Command/SetRandomMemberTest.php

@@ -40,8 +40,8 @@ class SetRandomMemberTest extends CommandTestCase
      */
     public function testFilterArguments()
     {
-        $arguments = array('key');
-        $expected = array('key');
+        $arguments = array('key', 1);
+        $expected = array('key', 1);
 
         $command = $this->getCommand();
         $command->setArguments($arguments);