Fix unit test.

This commit is contained in:
resurtm
2013-05-28 20:31:26 +06:00
parent 60c9057963
commit d749ecff97

View File

@@ -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();