mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-12 20:21:19 +08:00
Use ::class instead of ::className() in tests. (#20612)
This commit is contained in:
@@ -124,7 +124,7 @@ Exception: yii\web\NotFoundHttpException', $out);
|
||||
$handler->traceLine = '<a href="netbeans://open?file={file}&line={line}">{html}</a>';
|
||||
$file = BaseYii::getAlias('@yii/web/Application.php');
|
||||
|
||||
$out = $handler->renderCallStackItem($file, 63, Application::className(), null, null, null);
|
||||
$out = $handler->renderCallStackItem($file, 63, Application::class, null, null, null);
|
||||
|
||||
$this->assertStringContainsString('<a href="netbeans://open?file=' . $file . '&line=63">', $out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user