justcoded / yii2-starter

Yii2 JustCoded Project Template
Other
41 stars 19 forks source link

Codeception tests not working in PHPStorm #25

Closed aprokopenko closed 6 years ago

aprokopenko commented 6 years ago

Very similar issue: https://github.com/Codeception/Codeception/issues/4476

For some reason Session works incorrectly. It resets (clean up) each time you try to access a SESSION key through Yii session component.

Need to check standard basic/advanced templates for this issue.

aprokopenko commented 6 years ago

Need to try this solution: https://github.com/Codeception/Codeception/issues/4476#issuecomment-368946638

aprokopenko commented 6 years ago

Solution works, added patch as composer script in v0.9:

https://github.com/justcoded/yii2-starter/pull/30/commits/ec30967193b321e386be9092c983522e0ae8911a