mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
单元测试修改
This commit is contained in:
@@ -407,7 +407,7 @@ EOF;
|
||||
public function testIsCache()
|
||||
{
|
||||
$template = new Template(['cache_id' => '__CACHE_ID__', 'display_cache' => true]);
|
||||
$this->assertTrue(!$template->isCache('__CACHE_ID__'));
|
||||
$this->assertTrue($template->isCache('__CACHE_ID__'));
|
||||
$template->display_cache = false;
|
||||
$this->assertTrue(!$template->isCache('__CACHE_ID__'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user