Call to deprecated method drupalGetHeader

Created on 23 May 2023, over 1 year ago
Updated 24 May 2023, over 1 year ago

Problem/Motivation

Error:
Call to deprecated method drupalGetHeader() of class Drupal\Tests\BrowserTestBase(link is external). Deprecated in drupal:9.2.0 and is removed from drupal:10.0.0. Use $this->getSession()->getResponseHeader() instead.

Locations:
web/modules/contrib/key_auth/tests/src/Functional/KeyAuthTest.php 321 and 322

Steps to reproduce

Scan the module with the upgrade_status module.

Proposed resolution

Fixed the deprecations

🐛 Bug report
Status

Needs review

Version

2.1

Component

Code

Created by

🇵🇰Pakistan hmdnawaz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024