Skip to content

Commit 578d8c9

Browse files
committed
revert EntityDefinitionTest
1 parent ea48879 commit 578d8c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/src/Kernel/DataProducer/EntityDefinitionTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,11 @@ enum FieldTypes {
496496
'entity_form_display_context' => $builder->fromContext('entity_form_display'),
497497
])
498498
);
499+
500+
// @todo Different description between Drupal 10.1 and 10.2, can be removed
501+
// when Drupal 10.1 support is dropped.
502+
$this->fullDefinitionResult['entityDefinition']['fields'][11]['description'] =
503+
$this->container->get('entity_field.manager')->getBaseFieldDefinitions('node')['created']->getDescription();
499504
}
500505

501506
/**

0 commit comments

Comments
 (0)