Issue #2799053 by sanduhrs: Environment is not preserved running phpunit with a different user

8.3.x
Alex Pott 2016-09-19 12:36:14 +01:00
parent d20b2b3bb0
commit bff67911a6
1 changed files with 2 additions and 2 deletions

View File

@ -43,6 +43,6 @@ be invoked with sudo instead:
```
export SIMPLETEST_DB='mysql://root@localhost/dev_d8'
export SIMPLETEST_BASE_URL='http://d8.dev'
sudo -u www-data ./vendor/bin/phpunit -c core --testsuite functional
sudo -u www-data ./vendor/bin/phpunit -c core --testsuite functional-javascript
sudo -u www-data -E ./vendor/bin/phpunit -c core --testsuite functional
sudo -u www-data -E ./vendor/bin/phpunit -c core --testsuite functional-javascript
```