Skip to content

Conversation

@bastien-phi
Copy link

@bastien-phi bastien-phi commented Aug 1, 2019

As APP_CONFIG_CACHE, APP_SERVICES_CACHE, APP_PACKAGES_CACHE, APP_ROUTES_CACHE and APP_EVENTS_CACHE are defined as relative paths from project root in phpunit.xml, this PR updates current working directory with project root during test bootstrap.
Without this, it is not possible to launch tests from another location than project root and it is not possible anymore to launch a single test class from (at least) PHPStorm.
See discussion in #5050

@taylorotwell
Copy link
Member

You can make this chagne in your own file if you want. You own the file.

Copy link

@rudiarta rudiarta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants