Fix path to phpunit

This commit is contained in:
Zach Borboa
2021-03-14 16:42:25 -04:00
parent e841e7c15e
commit 91ab720ba5
+2 -2
View File
@@ -14,8 +14,8 @@ source "check_syntax.sh"
export PHP_CURL_CLASS_TEST_MODE_ENABLED="yes"
# Determine which phpunit to use.
if [[ -f "vendor/bin/phpunit" ]]; then
phpunit_to_use="vendor/bin/phpunit"
if [[ -f "../vendor/bin/phpunit" ]]; then
phpunit_to_use="../vendor/bin/phpunit"
else
phpunit_to_use="phpunit"
fi