Skip to content

Commit

Permalink
Assign the appropriate node bundle.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey committed Apr 2, 2024
1 parent 1a50627 commit 11ab660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/Traits/IslandoraContentTypeTestTraits.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 11ab660

Please sign in to comment.