Skip to content

isConsoleRequest() may return erroneously when testing the Web application in Codeception #10267

Answered by brandonkelly
michaelrog asked this question in Q&A
Discussion options

You must be logged in to vote

getIsConsoleRequest() is defined by yii\base\Request, so this is more of a Yii thing. Not really interested in overriding it or customizing the behavior, when the bug (if there is one here) really should be fixed in Yii.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michaelrog
Comment options

Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants