[TESTS] Reload the initial table values after loading the data fixtures (as this purges the DB)

This commit is contained in:
Hugo Sales 2021-11-11 12:28:03 +00:00
parent f39f800a8e
commit 316723075b
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -4,6 +4,7 @@ cd /var/www/social || exit 1
printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379
yes yes | php bin/console doctrine:fixtures:load || exit 1
php bin/console app:populate_initial_values # since loading fixtures purges the DB
if [ "$#" -eq 0 ] || [ -z "$*" ]; then
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report