Merge pull request #3476 from AntonyThorpe/PEAR-PHPUnit

Update PhpUnitWrapper.php & TestRunner.php to recommend PHPUnit installation via Composer
This commit is contained in:
Ingo Schommer 2014-09-08 22:59:42 +12:00
commit fedad00e00
2 changed files with 2 additions and 2 deletions

View File

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

View File

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