Codeception test fails on attempt to publish assets


(Adam Wierzynkiewicz) #1

Hi,

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.


(Alexander Makarov) #2

Is your app based on basic template?


(Adam Wierzynkiewicz) #3

Hi,

Sorry for a late reply.

No, my app is based on the advanced template.


(Alexander Makarov) #4

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