mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3476 from AntonyThorpe/PEAR-PHPUnit
Update PhpUnitWrapper.php & TestRunner.php to recommend PHPUnit installation via Composer
This commit is contained in:
commit
fedad00e00
@ -112,7 +112,7 @@ class TestRunner extends Controller {
|
||||
if (!self::$default_reporter) self::set_reporter(Director::is_cli() ? 'CliDebugView' : 'DebugView');
|
||||
|
||||
if(!PhpUnitWrapper::has_php_unit()) {
|
||||
die("Please install PHPUnit using pear");
|
||||
die("Please install PHPUnit using Composer");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,7 @@ class PhpUnitWrapper_Exception extends Exception {}
|
||||
//
|
||||
if(!PhpUnitWrapper::has_php_unit()) {
|
||||
/**
|
||||
* PHPUnit is a testing framework that can be installed using PEAR.
|
||||
* PHPUnit is a testing framework that can be installed using Composer.
|
||||
* It's not bundled with SilverStripe, you will need to install it yourself.
|
||||
*
|
||||
* @package framework
|
||||
|
Loading…
Reference in New Issue
Block a user