From 7e727b63ed5119607273f5aa7f88082d5631bf81 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 10 Feb 2018 09:57:05 +0100 Subject: [PATCH] Use built-in PHPUnit in tests. --- test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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