diff --git a/inc/site-exporter/mu-migration/bin/test.sh b/inc/site-exporter/mu-migration/bin/test.sh index 65198feb1..7c2603b4d 100644 --- a/inc/site-exporter/mu-migration/bin/test.sh +++ b/inc/site-exporter/mu-migration/bin/test.sh @@ -3,12 +3,11 @@ set -ex # Run the unit tests, if they exist -if [ -f "phpunit.xml" ] || [ -f "phpunit.xml.dist" ] -then +if [ -f "phpunit.xml" ] || [ -f "phpunit.xml.dist" ]; then phpunit fi # Run the functional tests BEHAT_TAGS=$(php utils/behat-tags.php) -vendor/bin/behat --format progress $BEHAT_TAGS --strict +vendor/bin/behat --format progress "$BEHAT_TAGS" --strict