[TESTS] Use vendor/bin/simple-phpunit for running the tests, as it provides the appropriate polyfills

This commit is contained in:
Hugo Sales 2021-07-20 14:02:41 +00:00
parent 082656d1ae
commit 88f1437ee7
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ cd /var/www/social || exit 65
yes yes | php bin/console doctrine:fixtures:load || exit 65
if runuser -u www-data -- bin/phpunit --coverage-html .test_coverage_report; then
if runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report; then
exit 64
else
exit 65

View File

@ -32,6 +32,8 @@ services:
redis:
image: redis:alpine
tty: false
ports:
- 6379:6379
volumes:
database: