File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 11vendor
2+ phpunit.phar
3+ phpunit.phar.asc
Original file line number Diff line number Diff line change 11
22#! /usr/bin/env bash
3- clean=1 # Delete phpunit.phar after the tests are complete?
43gpg --fingerprint D8406D0D82947747293778314AA394086372C20A
54if [ $? -ne 0 ]; then
65 echo -e " \033[33mDownloading PGP Public Key...\033[0m"
@@ -13,16 +12,6 @@ if [ $? -ne 0 ]; then
1312 fi
1413fi
1514
16- if [ " $clean " -eq 1 ]; then
17- # Let's clean them up, if they exist
18- if [ -f phpunit.phar ]; then
19- rm -f phpunit.phar
20- fi
21- if [ -f phpunit.phar.asc ]; then
22- rm -f phpunit.phar.asc
23- fi
24- fi
25-
2615# Let's grab the latest release and its signature
2716if [ ! -f phpunit.phar ]; then
2817 wget https://phar.phpunit.de/phpunit.phar
@@ -37,7 +26,7 @@ if [ $? -eq 0 ]; then
3726 echo
3827 echo -e " \033[33mBegin Unit Testing\033[0m"
3928 # Run the testing suite
40- phpunit --configuration phpunit.xml.dist
29+ php phpunit --configuration phpunit.xml.dist
4130 # Cleanup
4231 if [ " $clean " -eq 1 ]; then
4332 echo -e " \033[32mCleaning Up!\033[0m"
You can’t perform that action at this time.
0 commit comments