From d749ecff974e91df06b455db88ff6926606dd63b Mon Sep 17 00:00:00 2001 From: resurtm Date: Tue, 28 May 2013 20:31:26 +0600 Subject: [PATCH] Fix unit test. --- tests/framework/caching/CFileCacheTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/framework/caching/CFileCacheTest.php b/tests/framework/caching/CFileCacheTest.php index 9ba745bfa..82ca71667 100644 --- a/tests/framework/caching/CFileCacheTest.php +++ b/tests/framework/caching/CFileCacheTest.php @@ -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();