浏览代码

[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);