Answer the question
In order to leave comments, you need to log in
YII2 codeception - how to fix the error?
Installed yii2-app-advanced, installed codeception with a composer (as in readme.md),
In OpenServer I configured the domain 'mysite'=>'mysite\frontend\web', the site opens as expected by mysite/
in _bootstrap.php set defined( 'TEST_ENTRY_URL') or define('TEST_ENTRY_URL', '/mysite/index-test.php');
I run codeception run - no acceptable passes "Failed to ensure login page" and so on. The rest of the tests, functional and unit OK.
Something with paths?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question