Use Composer provided phpunit for tests

This makes versioning pinning easier
This commit is contained in:
Robert Hafner 2014-04-19 22:01:22 -07:00
parent 33451f1e71
commit 9ad874d69e
2 changed files with 2 additions and 2 deletions

View File

@ -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__);
}

View File

@ -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 ''