소스 검색

Fixed a bug in the test suite discovered thanks to the validation of numeric inputs introduced in Redis with commit bbe025e.

Daniele Alessandri 15 년 전
부모
커밋
67a27a7f05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      test/RedisCommandsTest.php

+ 1 - 1
test/RedisCommandsTest.php

@@ -201,7 +201,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
         $this->redis->setAdd('fooSet', 'bar');
         $this->assertEquals('set', $this->redis->type('fooSet'));
 
-        $this->redis->zsetAdd('fooZSet', 'bar', 0);
+        $this->redis->zsetAdd('fooZSet', 0, 'bar');
         $this->assertEquals('zset', $this->redis->type('fooZSet'));
     }