doing a unit test use Url::toRoute() function went a exption
[yii\base\InvalidParamException] Unable to resolve the relative route: ex-sign-approval/view. No active controller is available.
How to fix this ?
doing a unit test use Url::toRoute() function went a exption
[yii\base\InvalidParamException] Unable to resolve the relative route: ex-sign-approval/view. No active controller is available.
How to fix this ?
Mock web application.