Closed
Description
v1.1.11 introduced new behavior where Yii::$app is null inside a "does" function call by a "friend". I'm not sure if this is intended behavior, but when the a friend's 'does' function is called, it calls Codeception\Module\Yii2 _initializeSession. Up until v1.1.10, this called the client->removeContext, but now it calls client->restart. Restart sets Yii2::$app to null, and in the "does" friend flow, startApp() is not called. This doesn't seem to be intended behavior since tests are encouraged to use Yii2::$app directly.
Metadata
Metadata
Assignees
Labels
No labels