mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正单元测试
This commit is contained in:
@@ -57,7 +57,7 @@ class redisTest extends cacheTestCase
|
|||||||
|
|
||||||
$redis->handler()->hset('hash', 'key', 'value');
|
$redis->handler()->hset('hash', 'key', 'value');
|
||||||
$value = $redis->handler()->hget('hash', 'key');
|
$value = $redis->handler()->hget('hash', 'key');
|
||||||
$this->assertEquals('s:5:"value";', $value);
|
$this->assertEquals('value', $value);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testExpire()
|
public function testExpire()
|
||||||
|
|||||||
Reference in New Issue
Block a user