[TESTS] Reload the initial table values after loading the data fixtures (as this purges the DB)
This commit is contained in:
parent
f39f800a8e
commit
316723075b
|
@ -4,6 +4,7 @@ cd /var/www/social || exit 1
|
||||||
|
|
||||||
printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379
|
printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379
|
||||||
yes yes | php bin/console doctrine:fixtures:load || exit 1
|
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
|
if [ "$#" -eq 0 ] || [ -z "$*" ]; then
|
||||||
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
|
vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
|
||||||
|
|
Loading…
Reference in New Issue
Block a user