fix phpunit cannot work in vagrant virtual machine

only phpunit version 5 can be used to run the tests
This commit is contained in:
shukebeta 2019-10-16 09:33:28 +13:00 committed by Frédéric Guillot
parent 3855617743
commit 9f1419ee6b
1 changed files with 3 additions and 3 deletions

6
Vagrantfile vendored
View File

@ -17,9 +17,9 @@ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/loca
cd /var/www/html && composer install
wget -q https://phar.phpunit.de/phpunit.phar
chmod +x phpunit.phar
sudo mv phpunit.phar /usr/local/bin/phpunit
wget -q -O phpunit https://phar.phpunit.de/phpunit-5.phar
chmod +x phpunit
sudo mv phpunit /usr/local/bin/phpunit
SCRIPT