Test suite: add test for the HASH type.

This commit is contained in:
Daniele Alessandri
2010-05-17 19:19:53 +02:00
parent 35f7ea2895
commit 23b68d9415
+3
View File
@@ -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() {