增加缓存驱动的queue测试

This commit is contained in:
thinkphp
2016-02-28 22:37:10 +08:00
parent 92e7ca7a1b
commit e3a95fe994
4 changed files with 13 additions and 12 deletions

View File

@@ -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;
}