From 9f1419ee6b1b8d118c7de8f47c57cf3f46c6b8d7 Mon Sep 17 00:00:00 2001 From: shukebeta Date: Wed, 16 Oct 2019 09:33:28 +1300 Subject: [PATCH] fix phpunit cannot work in vagrant virtual machine only phpunit version 5 can be used to run the tests --- Vagrantfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ae0ee5cf1..f3b6b9671 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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