mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 05:48:11 +08:00
Fix codestyle in build and tests (#20586)
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @link https://www.yiiframework.com/
|
||||
* @copyright Copyright (c) 2008 Yii Software LLC
|
||||
@ -97,8 +98,7 @@ Exception: yii\web\NotFoundHttpException', $out);
|
||||
$this->invokeMethod($handler, 'renderException', [new \Exception('Some Exception')]);
|
||||
ob_get_clean();
|
||||
$out = Yii::$app->response->data;
|
||||
$this->assertEquals('Exception View
|
||||
', $out);
|
||||
$this->assertEquals("Exception View\n", $out);
|
||||
}
|
||||
|
||||
public function testClearAssetFilesInErrorActionView()
|
||||
@ -143,7 +143,7 @@ Exception: yii\web\NotFoundHttpException', $out);
|
||||
],
|
||||
[
|
||||
"'hello world'",
|
||||
"'hello world'",
|
||||
''hello world'',
|
||||
],
|
||||
[
|
||||
'Chip&Dale',
|
||||
|
||||
Reference in New Issue
Block a user