From 11ab660e37b859e47fae94562d3d8ebbd863616a Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Tue, 2 Apr 2024 16:40:29 -0300 Subject: [PATCH] Assign the appropriate node bundle. --- tests/src/Traits/IslandoraContentTypeTestTraits.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Traits/IslandoraContentTypeTestTraits.php b/tests/src/Traits/IslandoraContentTypeTestTraits.php index ce36232..0570e9d 100644 --- a/tests/src/Traits/IslandoraContentTypeTestTraits.php +++ b/tests/src/Traits/IslandoraContentTypeTestTraits.php @@ -69,7 +69,7 @@ protected function createNode() : NodeInterface { } /** @var \Drupal\node\NodeInterface $entity */ $entity = $this->createEntity('node', [ - 'type' => $this->contentType->getEntityTypeId(), + 'type' => $this->contentType->id(), 'title' => $this->randomString(), ]); return $entity;