mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
redis testcase 添加数组的检查
This commit is contained in:
@@ -41,6 +41,8 @@ class redisTest extends cacheTestCase
|
|||||||
$cache = $this->prepare();
|
$cache = $this->prepare();
|
||||||
$this->assertEquals('string_test', $cache->get('string_test'));
|
$this->assertEquals('string_test', $cache->get('string_test'));
|
||||||
$this->assertEquals(11, $cache->get('number_test'));
|
$this->assertEquals(11, $cache->get('number_test'));
|
||||||
|
$result = $cache->get('array_test');
|
||||||
|
$this->assertEquals('array_test', $result['array_test']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testStoreSpecialValues()
|
public function testStoreSpecialValues()
|
||||||
|
|||||||
Reference in New Issue
Block a user