Procházet zdrojové kódy

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

Daniele Alessandri před 11 roky
rodič
revize
8565a42605
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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);