[TOOLS] Fix running tests without filters

This commit is contained in:
2021-11-08 21:49:12 +00:00
parent f0c532340e
commit 98b1b7072c
2 changed files with 2 additions and 4 deletions

View File

@@ -5,9 +5,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
echo yooo
if [ "$#" -eq 0 ]; then
if [ "$#" -eq 0 ] || [ -z "$*" ]; then
runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report
else
echo "Running with filter"