From 0bf92fa8b344b046fa95a6e8fff57efe158f922d Mon Sep 17 00:00:00 2001 From: Zan Vidmar Date: Thu, 31 Aug 2023 20:08:38 +0200 Subject: [PATCH] Ignore update notices. --- tests/behat/features/bootstrap/LogContext.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/behat/features/bootstrap/LogContext.php b/tests/behat/features/bootstrap/LogContext.php index 4aa1a54b0dd..2f7bfd31440 100644 --- a/tests/behat/features/bootstrap/LogContext.php +++ b/tests/behat/features/bootstrap/LogContext.php @@ -155,6 +155,8 @@ protected function isIgnoredLogMessage($row) : bool { // Ignore an existing bug. // @todo https://www.drupal.org/project/social/issues/3320117 || ($row->type === 'php' && (int) $row->severity === RfcLogLevel::WARNING && (str_contains($row->variables, 'Undefined array key "#comment_display_mode"') || str_contains($row->variables, 'Undefined array key "#comment_type"'))) + // Ignore update notices. + || ($row->type === 'update' && (int) $row->severity === RfcLogLevel::NOTICE) ; }