MDL-32323 fix PHPUNIT_UTIL constant usage
This commit is contained in:
@@ -58,7 +58,7 @@ function phpunit_bootstrap_error($errorcode, $text = '') {
|
||||
$text = 'Unknown error '.$errorcode.$text;
|
||||
break;
|
||||
}
|
||||
if (PHPUNIT_UTIL) {
|
||||
if (defined('PHPUNIT_UTIL') and PHPUNIT_UTIL) {
|
||||
// do not write to error stream because we need the error message in PHP exec from web ui
|
||||
echo($text."\n");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user