projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
web
/
core
/
modules
/
simpletest
/
src
/
Form
/
SimpletestResultsForm.php
diff --git
a/web/core/modules/simpletest/src/Form/SimpletestResultsForm.php
b/web/core/modules/simpletest/src/Form/SimpletestResultsForm.php
index e1d21ae7c8008a9b89a626f42d6994ae65e59a99..a2241571eb4e00775024bed10cddaa6cfda6db14 100644
(file)
--- a/
web/core/modules/simpletest/src/Form/SimpletestResultsForm.php
+++ b/
web/core/modules/simpletest/src/Form/SimpletestResultsForm.php
@@
-17,6
+17,8
@@
use Symfony\Component\HttpFoundation\RedirectResponse;
* Note that the UI strings are not translated because this form is also used
* from run-tests.sh.
*
* Note that the UI strings are not translated because this form is also used
* from run-tests.sh.
*
+ * @internal
+ *
* @see simpletest_script_open_browser()
* @see run-tests.sh
*/
* @see simpletest_script_open_browser()
* @see run-tests.sh
*/
@@
-110,7
+112,7
@@
class SimpletestResultsForm extends FormBase {
// performed.
$results = [];
if (is_numeric($test_id) && !$results = $this->getResults($test_id)) {
// performed.
$results = [];
if (is_numeric($test_id) && !$results = $this->getResults($test_id)) {
-
drupal_set_message($this->t('No test results to display.'), 'error'
);
+
$this->messenger()->addError($this->t('No test results to display.')
);
return new RedirectResponse($this->url('simpletest.test_form', [], ['absolute' => TRUE]));
}
return new RedirectResponse($this->url('simpletest.test_form', [], ['absolute' => TRUE]));
}
@@
-288,7
+290,7
@@
class SimpletestResultsForm extends FormBase {
'Filename',
'Line',
'Function',
'Filename',
'Line',
'Function',
- ['colspan' => 2, 'data' => 'Status']
+ ['colspan' => 2, 'data' => 'Status']
,
];
$form['result']['results'] = [];
foreach ($test_results as $group => $assertions) {
];
$form['result']['results'] = [];
foreach ($test_results as $group => $assertions) {