From 23b68d94154f44fc6e7c8f700330d3df8281cf55 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Mon, 17 May 2010 19:19:53 +0200 Subject: [PATCH] Test suite: add test for the HASH type. --- test/RedisCommandsTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/RedisCommandsTest.php b/test/RedisCommandsTest.php index 40d6b132..08e85a7c 100644 --- a/test/RedisCommandsTest.php +++ b/test/RedisCommandsTest.php @@ -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() {