Backported changes from the mainline library to the PHP 5.2 branch (up to commit 84cb28e)

This commit is contained in:
Daniele Alessandri
2010-05-18 20:28:54 +02:00
parent 7806614041
commit cf758f23d4
5 changed files with 232 additions and 49 deletions
+4
View File
@@ -80,6 +80,7 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
$this->assertFalse($this->redis->exists('hoge'));
}
/* commands operating on string values */
function testSet() {
@@ -203,6 +204,9 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase {
$this->redis->zadd('fooZSet', 0, 'bar');
$this->assertEquals('zset', $this->redis->type('fooZSet'));
$this->redis->hset('fooHash', 'value', 'bar');
$this->assertEquals('hash', $this->redis->type('fooHash'));
}
function testAppend() {