Issue #2957367 by pifagor, jhodgdon: Message on PHPUnit requirements problem needs small update

merge-requests/1654/head
Alex Pott 2018-04-03 12:43:32 +02:00
parent fd8233c78f
commit b9a310e29e
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
2 changed files with 2 additions and 2 deletions

View File

@ -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'] = [

View File

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