diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 3548183..c656c67 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -35,6 +35,6 @@ if (!file_exists($filename)) { $filename = __DIR__ .'/../autoload.php'; require_once $filename; } else { - $loader = require_once $filename; + $loader = require $filename; $loader->add('Fetch\\Test', __DIR__); } diff --git a/tests/runTests.sh b/tests/runTests.sh index d4dc032..c4a37bc 100755 --- a/tests/runTests.sh +++ b/tests/runTests.sh @@ -7,7 +7,7 @@ if [ ! -n "$TRAVIS" ]; then fi echo 'Running unit tests.' -phpunit --verbose --coverage-clover build/logs/clover.xml +./vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml echo '' echo ''