Admin user in NavigationExtraToolsAlterTest has no type

Created on 2 November 2024, about 2 months ago

Problem/Motivation

In the Functional test class, the admin user is defined as a property of the class, but not declared with an explicit class.

Steps to reproduce

Review NavigationExtraToolsAlterTest class, and confirm $adminUser property declared without class.

Proposed resolution

Declare $adminUser as Drupal\user\UserInterface.

Remaining tasks

  • Add type to declaration
  • Verify tests still pass

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇮🇪Ireland lostcarpark

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024