diff --git a/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php b/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php index 5bdb8cd7fe..25baeba17c 100644 --- a/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php +++ b/core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php @@ -80,14 +80,14 @@ public function testArrayIteration() { } /** - * Tests getting the moderation_state with getValue. + * @covers ::getValue */ public function testGetValue() { $this->assertEquals([['value' => 'draft']], $this->testNode->moderation_state->getValue()); } /** - * Tests getting the moderation_state with get. + * @covers ::get */ public function testGet() { $this->assertEquals('draft', $this->testNode->moderation_state->get(0)->value); @@ -96,7 +96,7 @@ public function testGet() { } /** - * Tests setting an empty value on the moderation_state field. + * Tests the computed field when it is unset or set to an empty value. */ public function testSetEmptyState() { $this->testNode->moderation_state->value = '';