Skip to content

Commit d6c0af9

Browse files
committed
Update test to include interface as well
1 parent dda740e commit d6c0af9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/src/Reflection/EntityFieldsViaMagicReflectionExtensionTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ public function dataHasProperty(): \Generator
7070
'target_id',
7171
true,
7272
];
73+
yield 'field item list_interface: value' => [
74+
\Drupal\Core\Field\FieldItemListInterface::class,
75+
'target_id',
76+
true,
77+
];
7378
// @todo support more proeprties.
7479
yield 'field item list: format' => [
7580
\Drupal\Core\Field\FieldItemList::class,

0 commit comments

Comments
 (0)