You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
The text was updated successfully, but these errors were encountered:
https://www.drupal.org/node/3401941
Introduced in branch/version: 10.2.x / 10.2.x
The test trait
EntityReferenceTestTrait
has been renamed toEntityReferenceFieldCreationTrait
To update just use the new trait. Example
Before
After
The text was updated successfully, but these errors were encountered: