Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function testActions() { |
||
16 | $controller = new Controller('test', 'common'); |
||
|
|||
17 | expect('actions should return an array of action settings', $this->assertEquals([ |
||
18 | 'error' => [ |
||
19 | 'class' => 'yii\web\ErrorAction', |
||
20 | ], |
||
21 | 'captcha' => [ |
||
22 | 'class' => 'yii\captcha\CaptchaAction', |
||
23 | ], |
||
24 | ], $controller->actions())); |
||
25 | } |
||
41 |