mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-22 16:06:53 +01:00
Fix unit test.
This commit is contained in:
@@ -5,7 +5,7 @@ class CFileCacheTest extends CTestCase
|
||||
/**
|
||||
* https://github.com/yiisoft/yii/issues/2435
|
||||
*/
|
||||
public function testEmbedMtime()
|
||||
public function testEmbedExpiry()
|
||||
{
|
||||
$app=new TestApplication(array(
|
||||
'id'=>'testApp',
|
||||
@@ -32,7 +32,7 @@ class CFileCacheTest extends CTestCase
|
||||
$app=new TestApplication(array(
|
||||
'id'=>'testApp',
|
||||
'components'=>array(
|
||||
'cache'=>array('class'=>'CFileCache','embedMtime'=>true),
|
||||
'cache'=>array('class'=>'CFileCache','embedExpiry'=>true),
|
||||
),
|
||||
));
|
||||
$app->reset();
|
||||
|
||||
Reference in New Issue
Block a user