Codeception test fails on attempt to publish assets


When I run my codeception functional tests I get this error:

The file or directory to be published does not exist: <yii root>/<my app>/vendor/bower/jquery/dist’

The problem seems to be that the path to assets is constructed wrongly - instead of accessing vendor directly from the yii installation root directory it looks under my app directory for the vendor folder. The directory is not in there obviously so the error message is perfectly fine but what might be the reason of the path to vendor directory being prepended with my app directory name?

I’ve run out of ideas with this one, so any help would be much appreciated.

Is your app based on basic template?


Sorry for a late reply.

No, my app is based on the advanced template.

Just tried installing clean advanced app and running tests. Can’t reproduce your error.