mirror of
https://github.com/predis/predis.git
synced 2026-08-30 04:02:22 +00:00
Test suite: add test for the HASH type.
This commit is contained in:
@@ -203,6 +203,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