\Drupal\Tests\Core\Entity\TypedData\EntityAdapterUnitTest does not mock entity_type->getId() correctly triggering deprecations on PHP 8.5

Created on 4 November 2025, 7 days ago

Problem/Motivation

\Drupal\Tests\Core\Entity\TypedData\EntityAdapterUnitTest does not set up EntityType::getId() correctly causing deprecations on PHP 8.5.

Steps to reproduce

Run \Drupal\Tests\Core\Entity\TypedData\EntityAdapterUnitTest

Proposed resolution

Set up the mock correctly.

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

None

Data model changes

None

Release notes snippet

N/a

πŸ“Œ Task
Status

RTBC

Version

11.0 πŸ”₯

Component

entity system

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024