diff --git a/test.sh b/test.sh index 9b0b2836c7..4b4580b8f8 100755 --- a/test.sh +++ b/test.sh @@ -126,12 +126,12 @@ else then echo "Must run PHPUnit without coverage:" - echo "phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite" - phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite + echo "./vendor/bin/phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite" + ./vendor/bin/phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite else echo "Must run PHPUnit with coverage" - echo "phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite" - phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite + echo "./vendor/bin/phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite" + ./vendor/bin/phpunit $verbalflag --configuration $configfile $featuretestclass $unittestclass $testsuite fi fi