Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityReferenceTestTrait has been renamed to EntityReferenceFieldCreationTrait #718

Open
github-actions bot opened this issue Nov 16, 2023 · 1 comment

Comments

@github-actions
Copy link

https://www.drupal.org/node/3401941

Introduced in branch/version: 10.2.x / 10.2.x

The test trait EntityReferenceTestTrait has been renamed to EntityReferenceFieldCreationTrait

To update just use the new trait. Example

Before

use Drupal\Tests\field\Traits\EntityReferenceTestTrait;

class EntityReferenceItemTest extends FieldKernelTestBase {

use EntityReferenceTestTrait;


After

use Drupal\Tests\field\Traits\ EntityReferenceFieldCreationTrait;


class EntityReferenceItemTest extends FieldKernelTestBase {

use EntityReferenceFieldCreationTrait;
@bbrala
Copy link
Collaborator

bbrala commented Nov 25, 2023

Being worked on here: palantirnet/drupal-rector#272 so closing

@bbrala bbrala closed this as completed Nov 25, 2023
@bbrala bbrala added drupal-rector-covered This issue is covered in rector and removed drupal-rector labels Dec 1, 2023
@bbrala bbrala reopened this Dec 1, 2023
@bbrala bbrala added drupal-rector and removed drupal-rector-covered This issue is covered in rector labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants