mirror of
https://github.com/retailcrm/Fetch.git
synced 2024-11-22 03:06:02 +03:00
Use Composer provided phpunit for tests
This makes versioning pinning easier
This commit is contained in:
parent
33451f1e71
commit
9ad874d69e
@ -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__);
|
||||
}
|
||||
|
@ -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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user