Quellcode durchsuchen

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

Daniele Alessandri vor 11 Jahren
Ursprung
Commit
8565a42605
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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);