Skip to content
Snippets Groups Projects
Commit 552b627d authored by Drew Webber's avatar Drew Webber
Browse files

Issue #1504544 by Valentine94, poker10, mrinalini9, jthorson, Chi,...

Issue #1504544 by Valentine94, poker10, mrinalini9, jthorson, Chi, brad.bulger, Berdir: Strict warning: Only variables should be passed by reference in run-tests.sh
parent 7955d455
No related branches found
No related tags found
1 merge request!7330Issue #3306390 by poker10, catch, Fabianx, pwolanin, rvtraveller: [D7]...
......@@ -43,8 +43,8 @@
echo "\nEnvironment cleaned.\n";
// Get the status messages and print them.
$messages = array_pop(drupal_get_messages('status'));
foreach ($messages as $text) {
$messages = drupal_get_messages('status');
foreach ($messages['status'] as $text) {
echo " - " . $text . "\n";
}
exit(SIMPLETEST_SCRIPT_EXIT_SUCCESS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment