Is it possible to run tests on console application’s controller’s actions? Simply invoking Controller::action() from tests doesn’t seem to work.
Solution:
\Yii::$app->runAction('controller/action')
Useful reading: https://github.com/yiisoft/yii2/issues/1764