Deprecated trait EntityReferenceTestTrait

Created on 6 June 2025, about 1 month ago

Problem/Motivation

When running the Upgrade status report, I get several of the following.

Usage of deprecated trait Drupal\Tests\field\Traits\EntityReferenceTestTrait in class Drupal\Tests\quickedit\FunctionalJavascript\CKEditor5IntegrationTest. Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait instead.

These are for four different test files, namely
- quickedit/tests/src/FunctionalJavascript/CKEditor5IntegrationTest.php
- quickedit/tests/src/FunctionalJavascript/LayoutBuilderIntegrationTest.php
- quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php
- quickedit/tests/src/FunctionalJavascript/QuickEditAutocompleteTermTest.php

Steps to reproduce

Drupal 10.4.8
Quick Edit 1.0.3
Go to the Upgrade status report page /admin/reports/upgrade-status, scroll to the Quick Edit status and click on X problems , the number may change depending on the version or if there are other patches applied.

Proposed resolution

Apply the solution proposed in https://www.drupal.org/node/3401941

Remaining tasks

Apply the solution proposed in https://www.drupal.org/node/3401941

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇧🇷Brazil barone Belo Horizonte

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

Comments & Activities

Production build 0.71.5 2024