From d9b68fb07b558a4bbc07f3bea09c3bff2183fdc0 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 31 Jul 2024 11:40:29 -0300 Subject: [PATCH] Use the renamed trait. See: https://www.drupal.org/node/3401941 --- tests/src/Traits/IslandoraContentTypeTestTraits.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/Traits/IslandoraContentTypeTestTraits.php b/tests/src/Traits/IslandoraContentTypeTestTraits.php index 0570e9d..5ac61e3 100644 --- a/tests/src/Traits/IslandoraContentTypeTestTraits.php +++ b/tests/src/Traits/IslandoraContentTypeTestTraits.php @@ -9,7 +9,7 @@ use Drupal\media\MediaTypeInterface; use Drupal\node\NodeInterface; use Drupal\node\NodeTypeInterface; -use Drupal\Tests\field\Traits\EntityReferenceTestTrait; +use Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait; use Drupal\Tests\media\Traits\MediaTypeCreationTrait; use Drupal\Tests\node\Traits\ContentTypeCreationTrait; use Drupal\Tests\test_support\Traits\Installs\InstallsModules; @@ -20,7 +20,7 @@ * Useful test traits for Islandora. Creates Islanodra node, media and files. */ trait IslandoraContentTypeTestTraits { - use EntityReferenceTestTrait; + use EntityReferenceFieldCreationTrait; use ContentTypeCreationTrait; use MediaTypeCreationTrait; use InteractsWithEntities;