diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php index c9fe915d97..22cbbab76e 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/MessageCommandTest.php @@ -111,10 +111,10 @@ protected function assertAnnounceContains($expected_message) { } /** - * Checks for inclusion of text in #drupal-live-announce. + * Checks for absence of the given text from #drupal-live-announce. * * @param string $expected_message - * The text expected to be present in #drupal-live-announce. + * The text expected to be absent from #drupal-live-announce. */ protected function assertAnnounceNotContains($expected_message) { $assert_session = $this->assertSession();