Skip to content

Commit

Permalink
Merge pull request #6 from discoverygarden/fix/node-bundles
Browse files Browse the repository at this point in the history
AUCIR-198: Assign the appropriate node bundle.
  • Loading branch information
nchiasson-dgi authored May 7, 2024
2 parents 1a50627 + 11ab660 commit 9b137d0
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 9b137d0

Please sign in to comment.