Browse Source

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

Daniele Alessandri 15 years ago
parent
commit
67a27a7f05
1 changed files with 1 additions and 1 deletions
  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->redis->setAdd('fooSet', 'bar');
         $this->assertEquals('set', $this->redis->type('fooSet'));
         $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'));
         $this->assertEquals('zset', $this->redis->type('fooZSet'));
     }
     }