Issue #2957367 by pifagor, jhodgdon: Message on PHPUnit requirements problem needs small update
parent
fd8233c78f
commit
b9a310e29e
|
@ -29,7 +29,7 @@ function simpletest_requirements($phase) {
|
|||
];
|
||||
if (!$has_phpunit) {
|
||||
$requirements['phpunit']['severity'] = REQUIREMENT_ERROR;
|
||||
$requirements['phpunit']['description'] = t("The testing framework requires the PHPUnit package. Please run 'composer install --dev' to ensure it is present.");
|
||||
$requirements['phpunit']['description'] = t("The testing framework requires the PHPUnit package. Please run 'composer install' to ensure it is present.");
|
||||
}
|
||||
|
||||
$requirements['curl'] = [
|
||||
|
|
|
@ -48,7 +48,7 @@ if ($args['help'] || $count == 0) {
|
|||
simpletest_script_init();
|
||||
|
||||
if (!class_exists(TestCase::class)) {
|
||||
echo "\nrun-tests.sh requires the PHPUnit testing framework. Please use 'composer install --dev' to ensure that it is present.\n\n";
|
||||
echo "\nrun-tests.sh requires the PHPUnit testing framework. Please use 'composer install' to ensure that it is present.\n\n";
|
||||
exit(SIMPLETEST_SCRIPT_EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue