[TOOLS][TESTS] Adjust configuration for testing environment

This commit is contained in:
2021-05-05 12:15:05 +00:00
parent a49ee453ab
commit d2020eb7d8
4 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,10 @@
#!/bin/sh
if /var/www/social/bin/phpunit --coverage-html .test_coverage_report; then
cd /var/www/social || exit 65
yes yes | php bin/console doctrine:fixtures:load || exit 65
if bin/phpunit --coverage-html .test_coverage_report; then
exit 64
else
exit 65