mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-11 19:20:01 +08:00
Use ::class instead of ::className() in tests. (#20612)
This commit is contained in:
@@ -42,7 +42,7 @@ class DbMessageControllerTest extends BaseMessageControllerTest
|
||||
'id' => 'Migrator',
|
||||
'basePath' => '@yiiunit',
|
||||
'controllerMap' => [
|
||||
'migrate' => EchoMigrateController::className(),
|
||||
'migrate' => EchoMigrateController::class,
|
||||
],
|
||||
'components' => [
|
||||
'db' => static::getConnection(),
|
||||
|
||||
Reference in New Issue
Block a user