Skip to content

Commit

Permalink
cleanup test case
Browse files Browse the repository at this point in the history
  • Loading branch information
klausi committed May 30, 2024
1 parent fdbf86a commit 804e45a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/src/Kernel/DataProducer/EntityMultipleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ public function testResolveEntityLoadMultiple(): void {
'type' => $this->node1->getEntityTypeId(),
'bundles' => [$this->node1->bundle(), $this->node2->bundle()],
'ids' => [$this->node1->id(), $this->node2->id(), $this->node3->id()],
// @todo We need to set these default values here to make the access
// handling work. Ideally that should not be needed.
'access' => TRUE,
'access_operation' => 'view',
]);

$nids = array_values(array_map(function (NodeInterface $item) {
Expand All @@ -104,8 +100,6 @@ public function testResolveEntityLoadWithNullId(): void {
$result = $this->executeDataProducer('entity_load_multiple', [
'type' => $this->node1->getEntityTypeId(),
'ids' => [NULL],
'access' => TRUE,
'access_operation' => 'view',
]);

$this->assertSame([], $result);
Expand Down

0 comments on commit 804e45a

Please sign in to comment.