From b9a310e29e208f9fd4467c4481158e0a7d688947 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 3 Apr 2018 12:43:32 +0200
Subject: [PATCH] Issue #2957367 by pifagor, jhodgdon: Message on PHPUnit
 requirements problem needs small update

---
 core/modules/simpletest/simpletest.install | 2 +-
 core/scripts/run-tests.sh                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/modules/simpletest/simpletest.install b/core/modules/simpletest/simpletest.install
index 530228834a97..4e0ea9b76db9 100644
--- a/core/modules/simpletest/simpletest.install
+++ b/core/modules/simpletest/simpletest.install
@@ -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'] = [
diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index eb77e135f325..4916f8c4b721 100644
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -48,7 +48,7 @@
 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);
 }
 
-- 
GitLab