mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
增加缓存驱动的queue测试
This commit is contained in:
@@ -31,7 +31,7 @@ class redisTest extends cacheTestCase
|
||||
protected function getCacheInstance()
|
||||
{
|
||||
if (null === $this->_cacheInstance) {
|
||||
$this->_cacheInstance = new \think\cache\driver\Redis();
|
||||
$this->_cacheInstance = new \think\cache\driver\Redis(['length' => 3]);
|
||||
}
|
||||
return $this->_cacheInstance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user