L
L
ldanmer2014-11-13 12:22:56
Yii
ldanmer, 2014-11-13 12:22:56

How to set up Codeception in Yii2 Advanced template?

Hello! I can’t set up codeception in the YII2 extended template in any way so that functional tests pass. Frontend and Backend are set to different domains (yii2.home and yii2.admin). Did everything according to README.MD When running the test, I get the following error: 6d77bb4dcba4421b853fe2c1f8e2c5da.PNG
Codeception tries to access the test page, but cannot - 404. I configured PhpBrowser in functional.suite.yml, but nothing changes. Maybe someone will give an example of his setup, with which everything goes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
ldanmer, 2014-11-15
@ldanmer

Maybe it will be useful to someone: the error was that I did not start the php server in the root directory. For everything to work properly, you need to run php -S localhost:8080 in the directory where you have yii2 installed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question