mirror of
https://github.com/predis/predis.git
synced 2026-08-28 11:09:49 +00:00
Backported changes from the mainline library to the PHP 5.2 branch (up to commit 84cb28e)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user