summaryrefslogtreecommitdiffstats
path: root/core/modules/update/tests/src/Functional/UpdateCoreTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/update/tests/src/Functional/UpdateCoreTest.php')
-rw-r--r--core/modules/update/tests/src/Functional/UpdateCoreTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/modules/update/tests/src/Functional/UpdateCoreTest.php b/core/modules/update/tests/src/Functional/UpdateCoreTest.php
index 5cd4b10..222d568 100644
--- a/core/modules/update/tests/src/Functional/UpdateCoreTest.php
+++ b/core/modules/update/tests/src/Functional/UpdateCoreTest.php
@@ -289,8 +289,9 @@ class UpdateCoreTest extends UpdateTestBase {
// Make sure duplicate messages don't appear on Update status pages.
$this->drupalGet('admin/reports/status');
// We're expecting "There is a security update..." inside the status report
- // itself, but the drupal_set_message() appears as an li so we can prefix
- // with that and search for the raw HTML.
+ // itself, but the message from
+ // \Drupal\Core\Messenger\MessengerInterface::addStatus() appears as an li
+ // so we can prefix with that and search for the raw HTML.
$this->assertNoRaw('<li>' . t('There is a security update available for your version of Drupal.'));
$this->drupalGet('admin/reports/updates');