mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-15 19:01:19 +08:00
Use ::class instead of ::className() in tests. (#20612)
This commit is contained in:
@@ -24,7 +24,7 @@ class FragmentCacheTest extends TestCase
|
||||
parent::setUp();
|
||||
$this->mockWebApplication();
|
||||
Yii::$app->set('cache', [
|
||||
'class' => ArrayCache::className(),
|
||||
'class' => ArrayCache::class,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user