contributte / codeception

:arrow_forward: Integration of Nette Framework to Codeception.
https://contributte.org/packages/contributte/codeception.html
MIT License
27 stars 15 forks source link

Double slash in appDir/wwwDir #26

Closed lukascellar closed 3 years ago

lukascellar commented 3 years ago

Paths in NetteDIModule contains double slash // and cause problems in template path normalization used in Latte\Loaders\FileLoader::normalizePath

appDir => "/dev/my-project/tests/functional//../../app"
wwwDir => "/dev/my-project/tests/functional//../../www" 

Solutiion: trim tailing slash in _beforeSuite method

f3l1x commented 3 years ago

Your PR was merged, I am closing it here.

https://github.com/contributte/codeception/pull/27