-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional test error #221
Comments
Verified. No idea why it happens though. |
SilverFire
added a commit
to SilverFire/base
that referenced
this issue
Nov 2, 2017
This commit fixes issue reported in Yii2 repo yiisoft/yii2-app-advanced#221
SilverFire
added a commit
to SilverFire/Codeception
that referenced
this issue
Nov 2, 2017
This commit fixes issue reported in Yii2 repo yiisoft/yii2-app-advanced#221
To be fixed in codeception repo Codeception/Codeception#4601 |
SilverFire
removed
the
status:ready for adoption
Feel free to implement this issue.
label
Nov 2, 2017
samdark
pushed a commit
to Codeception/Codeception
that referenced
this issue
Nov 2, 2017
This commit fixes issue reported in Yii2 repo yiisoft/yii2-app-advanced#221
Naktibalda
pushed a commit
to Codeception/module-yii2
that referenced
this issue
Sep 15, 2019
This commit fixes issue reported in Yii2 repo yiisoft/yii2-app-advanced#221
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What steps will reproduce the problem?
'bootstrap' => ['log', 'bootstrapit'],
codecept run functional LoginCest:checkValidLogin -d
What's expected?
Test run seccesseful.
What do you get instead?
Test failed because user is not authorized.
Login link displayed in file
./_output/frontend.tests.functional.LoginCest.checkValidLogin.fail.html
Additional info
Run with default bootstrap config
'bootstrap' => ['log']
:Run with my bootstrap
'bootstrap' => ['log', 'bootstrapit'],
:When i try to access to
Yii::$app->user-id
, application create new db connection, out of the transaction which used for user fixtures, so application can't find User model and client stay as guest.Have you any ideas why it happened?
The text was updated successfully, but these errors were encountered: