Browse Source

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

Daniele Alessandri 11 years ago
parent
commit
8565a42605
1 changed files with 2 additions and 2 deletions
  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);