From 420ebcda2621070a5696beb62e2d180e5561cdfb Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 10 Nov 2021 13:55:42 +0000 Subject: [PATCH] [TESTS] Run tests without runuser as it's generating very weird permission errors. This is temporary (TM) --- docker/tooling/coverage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/tooling/coverage.sh b/docker/tooling/coverage.sh index 94ec3c579e..259f91d2c2 100755 --- a/docker/tooling/coverage.sh +++ b/docker/tooling/coverage.sh @@ -6,8 +6,8 @@ printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379 yes yes | php bin/console doctrine:fixtures:load || exit 1 if [ "$#" -eq 0 ] || [ -z "$*" ]; then - runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report + vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report else echo "Running with filter" - runuser -u www-data -- vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report --filter "$*" + vendor/bin/simple-phpunit -vvv --coverage-html .test_coverage_report --filter "$*" fi