S
S
Sergey2014-05-07 21:12:24
Yii
Sergey, 2014-05-07 21:12:24

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

1 answer(s)
V
vaail, 2014-07-23
@vaail

In this situation, you just need to specify
and specify the correct URL in acceptance.suite.yml

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question