summaryrefslogtreecommitdiffstats
path: root/core/scripts
diff options
context:
space:
mode:
authorAlex Pott2018-05-07 10:08:12 (GMT)
committerAlex Pott2018-05-07 10:08:12 (GMT)
commit3c82d71d7be95cb0a0c4e6f926a8516e1466fa2f (patch)
tree533bac4f0e0e826b73a34339ca2a94c0f83fe2b9 /core/scripts
parent07df22824734b5b78aa3465ce4d6e18379ded9b3 (diff)
Issue #2935255 by Jo Fitzgerald, kim.pepper, voleger, alexpott, martin107, jibran, catch: Remove all usages of drupal_get_message and drupal_set_message in core lib
Diffstat (limited to 'core/scripts')
-rw-r--r--core/scripts/run-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index 6a8eaca..3462fcf 100644
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -125,8 +125,8 @@ if ($args['clean']) {
echo "\nEnvironment cleaned.\n";
// Get the status messages and print them.
- $messages = drupal_get_messages('status');
- foreach ($messages['status'] as $text) {
+ $messages = \Drupal::messenger()->messagesByType('status');
+ foreach ($messages as $text) {
echo " - " . $text . "\n";
}
exit(SIMPLETEST_SCRIPT_EXIT_SUCCESS);