diff --git a/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php b/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php index a734420..73b3254 100644 --- a/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php @@ -31,6 +31,9 @@ protected function setUp() { $this->installSchema('system', 'sequences'); } + /** + * Tests the correct functionality CRUD operations of entity revisions. + */ public function testRevisionableContentEntity() { $entity_type = 'entity_test_mul_revlog'; $definition = \Drupal::entityManager()->getDefinition($entity_type); @@ -91,7 +94,7 @@ public function testRevisionableContentEntity() { * * @param int $count * The number of items expected to be in revisions related tables. - * @param Drupal\Core\Entity\EntityTypeInterface $definition + * @param \Drupal\Core\Entity\EntityTypeInterface $definition * The definition and metada of the entity being tested. */ protected function assertItemsTableCount($count, EntityTypeInterface $definition) { @@ -104,9 +107,9 @@ protected function assertItemsTableCount($count, EntityTypeInterface $definition /** * Creates a new revision in the entity of this test class. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity where revision will be created. - * @param Drupal\user\UserInterface $user + * @param \Drupal\user\UserInterface $user * The author of the new revision. * @param int $timestamp * The timestamp of the new revision. @@ -120,4 +123,5 @@ protected function createRevision(EntityInterface $entity, UserInterface $user, $entity->setRevisionLogMessage($log_message); $entity->save(); } + }